Expert |
|
Joined: Thu Jan 29, 2004 2:31 am Posts: 362 Location: Switzerland, Bern
|
Sorry if this has been asked before, the forum search returned just to many results :-(.
In order to do independant unit testing, we have a different schema for every developer. Also our customers are using the application with schema names they choose and even change themselfs. Unfortunately the schema has to be set in the hbm.xml file. I found no other way than do some XML processing befor feeding the hbm.xml files into Hibernate's Configure.
Is there a nicer way to set a default schema for Configuration/SessionFactory?
TIA
Ernst
Hibernate version:
2.1.7
Name and version of the database you are using:
Oracle 8 and 9
|
|