Is it possible to use Hibernate to execute at runtime the creation of a new database (using annotations of model objects as schemas, or from a regular schema file that we define), and then get a connection to this database so that it can be used?
What would we like to do when a certain action occurs (for example, a new user is created), we create a new database for this user (from certain annotations or just a static diagram), and then we have to turn to this database so that the user can write it .
The custom thing is just to illustrate the concept ...
Thank!
source
share