I'm in a non managed environment.
I obtain the session by..
session = HibernateSessionFactory.currentSession();
After I call commit, I perform a load using session to get my next class to work on...
Dog dog = (Dog) session.get(Dog.class, dogcelOID);
And get this exception..
FINE: loading entity: xxxxxxxx
Sep 2, 2005 1:29:10 PM org.hibernate.jdbc.AbstractBatcher logOpenPreparedStatement
FINE: about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
Sep 2, 2005 1:29:10 PM org.hibernate.event.def.DefaultLoadEventListener onLoad
INFO: Error performing load command
org.hibernate.HibernateException: Not able to obtain connection
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:113)
|