Hi, In my T5 app, I start a quartz job where I do following:
1) obtain info from database 2) do some lengthy thing here 3) update the database 4) if not end go back to 2 5) commit This trigger some exceptions from Hibernate, it complains that a connection is not valid as it might have been closed by c3p0. Now I'd like to change this to something like this: 1) obtain info from database, close the connection 2) so some lengthy thing 3) open a connection to update the database, close it 4) if not end go back to 2 I'd like to use HibernateSessionManager, but it seems to me it still maintain a transaction even I call commit or abort, any idea? THanks, Angelo -- View this message in context: http://www.nabble.com/t5%3A-lengthy-process-and-hibernate-connection-with-c3p0-tp22436516p22436516.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org