Hi,
I need to run a lengthy thread where some database update happens, is there
a way to minimize the time when a Hibernate Session is used? something
similar to:
do while not done
// do some processing here
obtain a session
use the session
release the session
enddo
If I use HibernateSessionManager, it seems there is no way to release and
obtain a new session, any idea?
--
View this message in context:
http://www.nabble.com/T5%EF%BC%9A-getting-new-Hibernate-session-in-a-lengthy-thread-tp22448134p22448134.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]