Hibernate version:
2.1.6
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
Is there a way to clone a configuration?
What i have is an ASP setup where each asp's hiberntate config has to be customized slightly. Loading of the common config is very time consuming (lots of classes and some auto-generation of mappings at runtime). So my idea was to load the common config once, then clone it for each ASP setup, tweak, and create the factory for that vairant.
|