Re: OT: Hibernate Session to User Session

2004-06-07 Thread Riyad Kalla
Carl, Thank you for the corrects, yes after you point it out it seems I did read something very incorrectly. I appreciate you suggestion at the bottom of the message, I will look into this. Best, Riyad Carl-Eric Menzel wrote: I was reading in the Hibernate forums that when you have a WebApp > DA

Re: OT: Hibernate Session to User Session

2004-06-07 Thread Carl-Eric Menzel
> I was reading in the Hibernate forums that when you have a WebApp > DAO > Hibernate > DB design, and you open/close each Hibernate session at > every single DAO method call (what I do now) its actually quite > expensive, This is fairly expensive, but not that much. The *SessionFactory* is expen

Re: OT: Hibernate Session to User Session

2004-06-07 Thread Axel Stahlhut
Riyad Kalla wrote: I was reading in the Hibernate forums that when you have a WebApp > DAO Hibernate > DB design, and you open/close each Hibernate session at every single DAO method call (what I do now) its actually quite expensive, and is suggested that you attempt to maintain a Hibernate

OT: Hibernate Session to User Session

2004-06-07 Thread Riyad Kalla
I was reading in the Hibernate forums that when you have a WebApp > DAO > Hibernate > DB design, and you open/close each Hibernate session at every single DAO method call (what I do now) its actually quite expensive, and is suggested that you attempt to maintain a Hibernate Session in conjunction w