Riyad Kalla wrote:
> I believe that is what I am using now (it seems to be quite popular) but
> I don't quite understand the reasoning behind the ThreadLocal approach
> (I've actually never used 'ThreadLocal')... can you shed some light on
> this? What the mapping between Hibernate Sessions and Us
n I checked
The Struts plugin for hibernate and hibernate samples..
Sorry for not being of any much help :-(
Regards
marco
-Original Message-
From: Riyad Kalla [mailto:[EMAIL PROTECTED]
Sent: 08 June 2004 14:54
To: Struts Users Mailing List
Subject: Re: Hibernate Session to U
ory,
And each DAO will get its own session associated with its ThreadLocal..
Have a look at hibernate website for patterns on how to use Session
Regards,marco
-Original Message-
From: Riyad Kalla [mailto:[EMAIL PROTECTED]
Sent: 08 June 2004 00:14
To: Struts Users Mailing List
Sub
d with its ThreadLocal..
Have a look at hibernate website for patterns on how to use Session
Regards,marco
-Original Message-
From: Riyad Kalla [mailto:[EMAIL PROTECTED]
Sent: 08 June 2004 00:14
To: Struts Users Mailing List
Subject: OT: Hibernate Session to User Session
I was
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
> 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
ECTED]
Sent: Monday, June 07, 2004 7:14 PM
To: Struts Users Mailing List
Subject: OT: Hibernate Session to User Session
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
bernate sessions with http sessions.
Thanks,
BAL
- Original Message -
From: "Riyad Kalla" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, June 07, 2004 7:13 PM
Subject: OT: Hibernate Session to User Session
I wa
ot; <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, June 07, 2004 7:13 PM
Subject: OT: Hibernate Session to User Session
> I was reading in the Hibernate forums that when you have a WebApp > DAO
> > Hibernate > DB design, and
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
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
11 matches
Mail list logo