Sort of. :) If you're using a DataSource to create a connection, that data source can be in any context, although the connection itself will be created in the pageContext. I'm not sure that we should use the connection tags to generate connections outside the page context. It doesn't seem very modular, and not all scopes are appropriate (application scope in particular). In my view, the tags should generate references at the page scope. It should be up to your underlying connection pool (datasources, pooling drivers, etc.) to allow for connection reuse.
- Morgan
> -----Original Message-----
> From: Ciot, Thierry [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 13, 2001 4:48 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: JDBC update redux
>
>
> Did you consider providing the capability to keep a connection in the
> session instead of just page context?
> For example, having a scope attribute in the connection tag.
>
> Thierry
>
> -----Original Message-----
> From: Morgan Delagrange [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 13, 2001 12:01 PM
> To: [EMAIL PROTECTED]
> Subject: Re: JDBC update redux
>
>
> Hey Marius,
>
> Could you forward me the source code, so I can take a
> look? Thanks!
>
> - Morgan
>
> --- Marius Scurtescu <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I compiled and tested the new JDBC taglib today. I
> > run
> > into only one minor problem.
> >
> > The getNumber tag will format the number either as a
> > double
> > or as a long, depending on the SQL type of the
> > column.
> > I had to add two more types to the double case in
> > order
> > to make it work with the 'money' type in MS SQL
> > Server 7.
> >
> > These types are DECIMAL and NUMERIC, 'money' is
> > mapped to
> > one of these two.
> >
> > It looks like a pretty solid implementation.
> >
> > Marius
> >
> > Morgan Delagrange wrote:
> > >
> > > Hi all,
> > >
> > > So, did anybody get a chance to check out the new
> > JDBC
> > > taglib additions? This is my latest release
> > candidate
> > > (less the necessary documentation update).
> > Comments?
> > >
> > > - Morgan
> > >
> > > =====
> > > Morgan Delagrange
> > > Britannica.com
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Get personalized email addresses from Yahoo! Mail
> > - only $35
> > > a year! http://personal.mail.yahoo.com/
> >
> > --
> > ------------------
> > Marius Scurtescu, Software Engineer
> > Tel: (604) 899-2835 Fax: (604) 899-2899
> > mailto:[EMAIL PROTECTED]
> > Multiactive Software Inc. http://www.multiactive.com
> > ------------------
> > Attract and retain customers with Multiactive
> > Software --
> > proud winners of PC WEEK's "Best of COMDEX" award.
> > ------------------
>
>
> =====
> Morgan Delagrange
> Britannica.com
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year! http://personal.mail.yahoo.com/
>
