JDBC Driver  
Author Message
Marmagya





PostPosted: 2004-1-14 2:59:00 Top

java-programmer, JDBC Driver Hello,
How can I find out which JDBC driver is available on my system? I
am working on a linux server. I am trying to learn JDBC programming and
am having problems about which JDBC driver to use.

Regards
Marmagya

 
Wendy S





PostPosted: 2004-1-14 3:17:00 Top

java-programmer >> JDBC Driver "Marmagya" <email***@***.com> wrote
> How can I find out which JDBC driver is available on my system? I
> am working on a linux server. I am trying to learn JDBC programming and
> am having problems about which JDBC driver to use.

What database are you using? Examples might be Oracle, Sybase, UniData,
Cloudscape...

With that information, someone can suggest what to look for on your system.

--
Wendy in Chandler, AZ


 
Markku Salminen





PostPosted: 2004-1-14 3:19:00 Top

java-programmer >> JDBC Driver > Hello,
> How can I find out which JDBC driver is available on my system? I
> am working on a linux server. I am trying to learn JDBC programming and
> am having problems about which JDBC driver to use.

It depends on the database you have. Driver are usually
in some JAR-file. I use PostgreSQL in my home computer and
driver is in file /usr/share/pgsql/pg73g1jdbc2.jar
This jar-package location must be found in CLASSPATH.

First thing to do is look for your database documentation
what is the name of the driver file. In same document there
is also told how to use the driver.

- Markku -

 
 
Joe Kulig





PostPosted: 2004-1-14 10:40:00 Top

java-programmer >> JDBC Driver You have to goto the database manufacturer and get their JDBC driver.

"Marmagya" <email***@***.com> wrote in message
news:mnXMb.11$email***@***.com...
> Hello,
> How can I find out which JDBC driver is available on my system? I
> am working on a linux server. I am trying to learn JDBC programming and
> am having problems about which JDBC driver to use.
>
> Regards
> Marmagya
>


 
 
Marmagya





PostPosted: 2004-1-14 14:04:00 Top

java-programmer >> JDBC Driver Hi all,
Thanks a lot for your responses, though I missed out on
specifying the database. I use Oracle. As you suggested, I will look
into the documentation of this database and will find out the driver.
Then I will ensure that I have the corresponding jar files available in
my classpath.
Thanks a lot for your help.

Regards
Marmagya

Wendy S wrote:

> "Marmagya" <email***@***.com> wrote
>
>>How can I find out which JDBC driver is available on my system? I
>>am working on a linux server. I am trying to learn JDBC programming and
>>am having problems about which JDBC driver to use.
>
>
> What database are you using? Examples might be Oracle, Sybase, UniData,
> Cloudscape...
>
> With that information, someone can suggest what to look for on your system.
>

 
 
kaeli





PostPosted: 2004-1-14 22:25:00 Top

java-programmer >> JDBC Driver In article <075Nb.20$email***@***.com>, email***@***.com
enlightened us with...
> Hi all,
> Thanks a lot for your responses, though I missed out on
> specifying the database. I use Oracle. As you suggested, I will look
> into the documentation of this database and will find out the driver.
> Then I will ensure that I have the corresponding jar files available in
> my classpath.
> Thanks a lot for your help.
>

Looks for classesxxx.zip and nls_charsetxx.zip.

For 8i, I use classes111.zip and nls_charset11.zip.
I got them from the Oracle site.

Note: they're zips, not jars, for Oracle.

--