Обсуждение: jdbc3

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

jdbc3

От
Sagine E.Ferrus
Дата:
Hi i downloaded the latest pg73jdbc3.jar from http://jdbc.postgresql.org

im trying to use a class that is supposedly in this library

//create a DataSource object
org.postgresql.jdbc3.Jdbc3PoolingDataSource source =
                         new org.postgresql.Jdbc3PoolingDataSource();

but i keep getting this error

 package org.postgresql.jdbc3 does not exist

and I did set my CLASSPATH to see this jar file
Im out of ideas,
Thanks in advanced for the help
Sagine

_____________________________________________________________
Visit our Caribbean Community at http://www.islanderonline.com

_____________________________________________________________
Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more!
http://www.everyone.net/selectmail?campaign=tag

Re: jdbc3

От
Dave Cramer
Дата:
Sagine,

try jar -tvf pg73jdbc3.jar | grep jdbc3


to see if it is in the jar?

Dave
On Mon, 2002-12-16 at 16:54, Sagine E.Ferrus wrote:
> Hi i downloaded the latest pg73jdbc3.jar from http://jdbc.postgresql.org
>
> im trying to use a class that is supposedly in this library
>
> //create a DataSource object
> org.postgresql.jdbc3.Jdbc3PoolingDataSource source =
>                          new org.postgresql.Jdbc3PoolingDataSource();
>
> but i keep getting this error
>
>  package org.postgresql.jdbc3 does not exist
>
> and I did set my CLASSPATH to see this jar file
> Im out of ideas,
> Thanks in advanced for the help
> Sagine
>
> _____________________________________________________________
> Visit our Caribbean Community at http://www.islanderonline.com
>
> _____________________________________________________________
> Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more!
http://www.everyone.net/selectmail?campaign=tag
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
--
Dave Cramer <Dave@micro-automation.net>


Re: jdbc3

От
Sagine E.Ferrus
Дата:
I did what you suggested and it is in the jar.

Sagine

--- Dave Cramer <Dave@micro-automation.net> wrote:
>Sagine,
>
>try jar -tvf pg73jdbc3.jar | grep jdbc3
>
>
>to see if it is in the jar?
>
>Dave
>On Mon, 2002-12-16 at 16:54, Sagine E.Ferrus wrote:
>> Hi i downloaded the latest pg73jdbc3.jar from http://jdbc.postgresql.org
>>
>> im trying to use a class that is supposedly in this library
>>
>> //create a DataSource object
>> org.postgresql.jdbc3.Jdbc3PoolingDataSource source =
>>                          new org.postgresql.Jdbc3PoolingDataSource();
>>
>> but i keep getting this error
>>
>>  package org.postgresql.jdbc3 does not exist
>>
>> and I did set my CLASSPATH to see this jar file
>> Im out of ideas,
>> Thanks in advanced for the help
>> Sagine
>>
>> _____________________________________________________________
>> Visit our Caribbean Community at http://www.islanderonline.com
>>
>> _____________________________________________________________
>> Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more!
http://www.everyone.net/selectmail?campaign=tag
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 2: you can get off all lists at once with the unregister command
>>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>--
>Dave Cramer <Dave@micro-automation.net>

_____________________________________________________________
Visit our Caribbean Community at http://www.islanderonline.com

_____________________________________________________________
Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more!
http://www.everyone.net/selectmail?campaign=tag

Re: jdbc3

От
Dave Cramer
Дата:
Well, if it's in the jar, then the classpath isn't setup up correctly

Dave

On Mon, 2002-12-16 at 17:46, Sagine E.Ferrus wrote:
> I did what you suggested and it is in the jar.
>
> Sagine
>
> --- Dave Cramer <Dave@micro-automation.net> wrote:
> >Sagine,
> >
> >try jar -tvf pg73jdbc3.jar | grep jdbc3
> >
> >
> >to see if it is in the jar?
> >
> >Dave
> >On Mon, 2002-12-16 at 16:54, Sagine E.Ferrus wrote:
> >> Hi i downloaded the latest pg73jdbc3.jar from http://jdbc.postgresql.org
> >>
> >> im trying to use a class that is supposedly in this library
> >>
> >> //create a DataSource object
> >> org.postgresql.jdbc3.Jdbc3PoolingDataSource source =
> >>                          new org.postgresql.Jdbc3PoolingDataSource();
> >>
> >> but i keep getting this error
> >>
> >>  package org.postgresql.jdbc3 does not exist
> >>
> >> and I did set my CLASSPATH to see this jar file
> >> Im out of ideas,
> >> Thanks in advanced for the help
> >> Sagine
> >>
> >> _____________________________________________________________
> >> Visit our Caribbean Community at http://www.islanderonline.com
> >>
> >> _____________________________________________________________
> >> Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more!
http://www.everyone.net/selectmail?campaign=tag
> >>
> >> ---------------------------(end of broadcast)---------------------------
> >> TIP 2: you can get off all lists at once with the unregister command
> >>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
> >--
> >Dave Cramer <Dave@micro-automation.net>
>
> _____________________________________________________________
> Visit our Caribbean Community at http://www.islanderonline.com
>
> _____________________________________________________________
> Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more!
http://www.everyone.net/selectmail?campaign=tag
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
--
Dave Cramer <Dave@micro-automation.net>