Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 3.2
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:
Problems with Session and transaction handling?
Read this:
http://hibernate.org/42.html
Connection is provided by c3p0 connection pool version 0.9.
i create a SessionFactory, and create many Session objects,and close all of them except one, When i create the SessionFactory second time because of java entity class changed,i find that the un-close session create used the first SessionFactory with the SessionFactory not gc,
the SessionFactoryImpl is not gc because the un-closed Session references it ,but which object reference the Session?
can some one tell me the reason