POST QUESTIONS ON THE FORUM! COMMENTS HERE SHOULD ADD VALUE TO THE
PAGE!Hi Marc,
I don't understand in what circumstances you think multiple sessions
will be opened. If you use ThreadLocal as in the widely publicised
HibernateUtil class, you should only ever receive the same session back
no matter how many times you call HibernateUtil.currentSession();
Am I understanding it correctly?
Thanks,
Michael |