Can anyone tell me where I can find the setting to enable / disable session close on TX commit. I'm using JTA, jboss and hibernate 3.2.
Startup Logs:
Code:
[SettingsFactory] Automatic flush during beforeCompletion(): enabled
[b][SettingsFactory] Automatic session close at end of transaction: enabled[/b]
[SettingsFactory] Scrollable result sets: enabled
[SettingsFactory] JDBC3 getGeneratedKeys(): enabled
[SettingsFactory] Connection release mode: after_statement
[SettingsFactory] Default batch fetch size: 1
[SettingsFactory] Generate SQL with comments: disabled
[SettingsFactory] Order SQL updates by primary key: disabled
[SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
Hibernate version: 3.2
Mapping documents: N/A
Code between sessionFactory.openSession() and session.close(): N/A
session.close() throws exception
Full stack trace of any exception that occurs:Code:
Session was already closed
Name and version of the database you are using: N/A
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt: