How to create two same tables in different schema’s by using single configuration file?
Answer / Kanchan Kotiya
To create two same tables in different schema's by using a single configuration file with Hibernate, you can achieve this by defining multiple 'hibernate-configuration.xml' files or by using a single 'hibernate.cfg.xml' file and setting the 'hibernate.dialect' property to specify the database dialect (including schema information) for each sessionFactory configuration.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is hibernate query object?
What is scalar query in hibernate?
Explain the types of hibernate instance states.
What are the states in hibernate?
What is hibernate entitymanagerfactory?
How do you implement one to one relationship in hibernate with java annotation?
What the four ORM levels are in hibernate?
What is a polymorphic association?
How to call stored procedure in hibernate with out parameter example?
How many types of transaction are there in hibernate?
What is the difference between update and merge method?
What are the two types of collections in hibernate?