HibernateSessionManager handles session for a request,
and does commit at the end.

if you want to have more than one commit you should not call it
directly on the injected session since it will confuse HibernateSessionManager.
Same goes for rollback.

Davor Hrg


On Feb 4, 2008 3:52 PM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> hi,
>
> I have used Session session in my app and it works, I have seen
> HibernateSessionManager being mentioned many times in the list, what are the
> advantages of using HibernateSessionManager compared app which does not
> explicitly use it?
>
> Thanks,
>
> Angelo
> --
> View this message in context: 
> http://www.nabble.com/T5%3A-HibernateSessionManager-tp15268872p15268872.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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to