On 5/30/02 2:05 PM, "Cindy Ballreich" <[EMAIL PROTECTED]> wrote:
> Yes, much more so. Thanks! I was misunderstanding the whole relationship. I
Cool!
Yeah, if you look at the packages:
javax.servlet.http
and
javax.sql
and
java.sql
I think you'll start to see how powerful the concept of interface
fillup,
At 01:28 PM 5/30/02 -0700, Phillip Morelock wrote:
>javax.sql.DataSource itself is not returning Connections.
>
>DataSource is an interface -- what this means in practice is that some
>random class (in this case, BasicDataSource) is implementing that interface.
>You're actually asking tha
javax.sql.DataSource itself is not returning Connections.
DataSource is an interface -- what this means in practice is that some
random class (in this case, BasicDataSource) is implementing that interface.
You're actually asking that class for a Connection, and you "know" that you
can call any me
At 03:43 PM 5/30/02 -0400, Rick Fincher wrote:
>Because the MySql driver is a javax.sql.DataSource and that's what gets
>passed back by the pool, making the pool transparent (no pun intended).
>
>That way you can later change the driver or the pooling details without
>changing your code (assuming
Because the MySql driver is a javax.sql.DataSource and that's what gets
passed back by the pool, making the pool transparent (no pun intended).
That way you can later change the driver or the pooling details without
changing your code (assuming the SQL dialect still works).
Rick
- Original
apache.org/builds/jakarta-commons/nightly/commons-dbcp/
>>>
>>>And could you keep your mails to the list instead of direct? That way (a)
>>>someone else might answer first and (b) the answer will end up in the mail
>>>archives.
>>>
>>>Thank
t; >
> >Thanks
> >
> >Les
> >
> >
> > > -Original Message-
> > > From: Rick Fincher [mailto:[EMAIL PROTECTED]]
> > > Sent: 24 May 2002 18:37
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Connection
t way (a)
>someone else might answer first and (b) the answer will end up in the mail
>archives.
>
>Thanks
>
>Les
>
>
> > -Original Message-
> > From: Rick Fincher [mailto:[EMAIL PROTECTED]]
> > Sent: 24 May 2002 18:37
> > To: [EMAIL PROT
.
Thanks
Les
> -Original Message-
> From: Rick Fincher [mailto:[EMAIL PROTECTED]]
> Sent: 24 May 2002 18:37
> To: [EMAIL PROTECTED]
> Subject: Re: Connection Pooling Solution
>
>
> Thanks a million Les,
>
> This is very helpful.
>
> Quick question: I