adspace
How to create two same tables in different schema’s by using single configuration file?
Answer Posted / 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 |
Post New Answer View All Answers