session « Default « JPA Q&A





1. Default session closure time out.    forum.hibernate.org

I have following code. [code] SessionFactory sfo = new SessionFactory(): Session session = sfo.openSession(); Connection dbCon = session.connection(); connection.close(); // I am not closing session. [/code] Followign is Config file [code] osc_trdbcache false org.hibernate.transaction.JTATransactionFactory org.hibernate.dialect.Oracle9Dialect [/code] I am not closing session, but ...