title: Creating databases at runtime with Hibernate?
body: <p>Is it possible to use Hibernate to, at runtime, create a new database (using the annotations of the model objects as schema, <strong>or</strong> from a normal schema file we define), and then get a connection to that database so that it can be used?</p>
  
  <p>What we would like to do is, when a certain action happens (for instance a new user is created), we create a new databse for that user (from the defined annotations or simply a static schema), and then have a handle to that database so the user can write to it.</p>
  
  <p><em>The user thing is simply for illustrating the concept...</em></p>
  
  <p>Thanks!</p>