Hi,
I'm building a regular desktop application with an embedded database.
Right now Hibernate seems to disconnect from the database whenever I commit() a transaction:
Code:
13:48:27,752 DEBUG JDBCTransaction:143 - committed JDBC Connection
13:48:27,752 DEBUG ConnectionManager:427 - aggressively releasing JDBC connection
13:48:27,752 DEBUG ConnectionManager:464 - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
Is there a way to tell it to keep connected until the application exits?
I'm using a sessionFactory with .getCurrentSession() in my utility functions.