Обсуждение: Support for javax.sql.DataSource ..

Поиск
Список
Период
Сортировка

Support for javax.sql.DataSource ..

От
lalit
Дата:
Hi ,

My name is Lalit - I am with Sun Microsystems - with the SunOne
Appserver team .

I am trying to use postgre with one of our sample applications .. and I
had a question :

Sun One App server7.0 needs an implementation of javax.sql.DataSource if
it has to be able to create a connection pool for a particular DB.

The latest  stable jdbc driver currently available off
http://jdbc.postgresql.org/download.html
doesnt have an implementation of javax.sql.DataSource . I also couldnt
locate a class implementing the same within the beta version of the 7.3
driver .

I was just wondering if there is a plan to support an implementation of
javax.sql.DataSource in the near future ..?

Thanks a million  in advance for all yr replies ..
Lalit


Re: Support for javax.sql.DataSource ..

От
Dave Cramer
Дата:
Lalit,

If you  pull from cvs you will get a datasource implementation.

Dave
On Tue, 2002-10-15 at 16:42, lalit wrote:
> Hi ,
>
> My name is Lalit - I am with Sun Microsystems - with the SunOne
> Appserver team .
>
> I am trying to use postgre with one of our sample applications .. and I
> had a question :
>
> Sun One App server7.0 needs an implementation of javax.sql.DataSource if
> it has to be able to create a connection pool for a particular DB.
>
> The latest  stable jdbc driver currently available off
> http://jdbc.postgresql.org/download.html
> doesnt have an implementation of javax.sql.DataSource . I also couldnt
> locate a class implementing the same within the beta version of the 7.3
> driver .
>
> I was just wondering if there is a plan to support an implementation of
> javax.sql.DataSource in the near future ..?
>
> Thanks a million  in advance for all yr replies ..
> Lalit
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
>




Re: Support for javax.sql.DataSource ..

От
Aaron Mulder
Дата:
    Also, out of curiosity, are you looking for a
javax.sql.ConnectionPoolDataSource, or a pooling or non-pooling
javax.sql.DataSource?  All three are provided, but by my reading of the
spec, an app server really *ought* to use CPDS instead of DS, and just
expose a DS to the application...

Aaron

On 15 Oct 2002, Dave Cramer wrote:
> Lalit,
>
> If you  pull from cvs you will get a datasource implementation.
>
> Dave
> On Tue, 2002-10-15 at 16:42, lalit wrote:
> > Hi ,
> >
> > My name is Lalit - I am with Sun Microsystems - with the SunOne
> > Appserver team .
> >
> > I am trying to use postgre with one of our sample applications .. and I
> > had a question :
> >
> > Sun One App server7.0 needs an implementation of javax.sql.DataSource if
> > it has to be able to create a connection pool for a particular DB.
> >
> > The latest  stable jdbc driver currently available off
> > http://jdbc.postgresql.org/download.html
> > doesnt have an implementation of javax.sql.DataSource . I also couldnt
> > locate a class implementing the same within the beta version of the 7.3
> > driver .
> >
> > I was just wondering if there is a plan to support an implementation of
> > javax.sql.DataSource in the near future ..?
> >
> > Thanks a million  in advance for all yr replies ..
> > Lalit
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 5: Have you checked our extensive FAQ?
> >
> > http://www.postgresql.org/users-lounge/docs/faq.html
> >
> >
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>


Re: Support for javax.sql.DataSource ..

От
lalit
Дата:
Hi Aaron,

Sorry for the late reply - I have been offline for the last few days ..

Our appserver's Connection pooling uses DS and not CPDS for building its pool ..

I think (I am not too sure on this) - so does BEA ..

By when would an alpha or beta version of the current driver(which has a DS
implementation) be released ..?
Checking out code from cvs would probably not be an option for us ..

Thanks
Lalit

Aaron Mulder wrote:

>         Also, out of curiosity, are you looking for a
> javax.sql.ConnectionPoolDataSource, or a pooling or non-pooling
> javax.sql.DataSource?  All three are provided, but by my reading of the
> spec, an app server really *ought* to use CPDS instead of DS, and just
> expose a DS to the application...
>
> Aaron
>
> On 15 Oct 2002, Dave Cramer wrote:
> > Lalit,
> >
> > If you  pull from cvs you will get a datasource implementation.
> >
> > Dave
> > On Tue, 2002-10-15 at 16:42, lalit wrote:
> > > Hi ,
> > >
> > > My name is Lalit - I am with Sun Microsystems - with the SunOne
> > > Appserver team .
> > >
> > > I am trying to use postgre with one of our sample applications .. and I
> > > had a question :
> > >
> > > Sun One App server7.0 needs an implementation of javax.sql.DataSource if
> > > it has to be able to create a connection pool for a particular DB.
> > >
> > > The latest  stable jdbc driver currently available off
> > > http://jdbc.postgresql.org/download.html
> > > doesnt have an implementation of javax.sql.DataSource . I also couldnt
> > > locate a class implementing the same within the beta version of the 7.3
> > > driver .
> > >
> > > I was just wondering if there is a plan to support an implementation of
> > > javax.sql.DataSource in the near future ..?
> > >
> > > Thanks a million  in advance for all yr replies ..
> > > Lalit
> > >
> > >
> > > ---------------------------(end of broadcast)---------------------------
> > > TIP 5: Have you checked our extensive FAQ?
> > >
> > > http://www.postgresql.org/users-lounge/docs/faq.html
> > >
> > >
> >
> >
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 6: Have you searched our list archives?
> >
> > http://archives.postgresql.org
> >
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org