Hi there,
I am working on a project which need to automatically create DB, and manage it at the runtime.
And I am new to hibernate. I just want to know that is there a way to create an identical DB using the current hibernate configuration with a different name at the runtime?
For example, I have a DB named "DB_A" which is created and managed by hibernate. And now, I want to use the same configuration to create another identical DB called "DB_B" at the runtime.
I am not sure how to implement it.
If anyone knows, please give me some advice.
Thanks!
|