Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
3.2.0CR1
Mapping documents:
Code between sessionFactory.openSession() and session.close():
session.getConnection().setCatalog(to something diff than sess fac config);
Criteria.list() // works fine
Criteria.list() // fails because the original catalog from the session factory is used
Is there a setting to tell hibernate not to switch back to the factory catalog?
Full stack trace of any exception that occurs:
Name and version of the database you are using:
SQL Server 2000 with jTDS 1.2 driver.
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt: