Re: JDBC Statement tag: connection scope

2001-05-03 Thread Morgan Delagrange
'id' rather than 'conn' > in the sql:closeConnection tag which is incorrect. Good catch. Fixed. > > - Original Message - > From: "Morgan Delagrange" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, May 02, 2001 1:21 P

Re: JDBC Statement tag: connection scope

2001-05-03 Thread Brent Johnson
Delagrange" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 02, 2001 1:21 PM Subject: Re: JDBC Statement tag: connection scope > > > On Wed, 2 May 2001, Brent Johnson wrote: > > > The statement tag gets its connection as follows inside of doStartTag(

Re: JDBC Statement tag: connection scope

2001-05-02 Thread Morgan Delagrange
On Wed, 2 May 2001, Brent Johnson wrote: > The statement tag gets its connection as follows inside of doStartTag(): > Connection conn = (Connection)pageContext.getAttribute(_connId); > > This means that the connection must be defined at PAGE_SCOPE. This seems a bit >restrictive. What if my

JDBC Statement tag: connection scope

2001-05-02 Thread Brent Johnson
The statement tag gets its connection as follows inside of doStartTag(): Connection conn = (Connection)pageContext.getAttribute(_connId); This means that the connection must be defined at PAGE_SCOPE.  This seems a bit restrictive.  What if my connection isn't at page scope?  Is there a reas