Quote:
No, it does not close jdbc connection, it returns connection to the pool.
Session close() cleans H session cache.
I am using Mysql and proxool,and another problem emerges:
Mysql automatically closes an idle connection every certain minuntes.
consider this situation,
when hibernate closes a session,the db-connection is returned to
proxool pool,then after a certain time Mysql automatically closes
this db-connection.but the proxool seems not aware of this,it return
a closed connection to hibernate the next time I call "sessionFactory.openSession();" then "No operations allowed after connection closed" exceptions occur.
how to handle this?