File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes JDBC driver string Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC driver string" Watch "JDBC driver string" New topic
Author

JDBC driver string

Bhavin Sanghani
Ranch Hand

Joined: Dec 17, 2003
Posts: 67
Hi frnds,

how can i know the driver string of the diff.-diff database which we specify in class.forName("..")?

-bhavin
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29237
    
139

Bhavin,
It's in the documentation and website for each database. Is there a particular one you are looking for?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Note that the "driver string" is typically the fully qualified class name of the database vendor specific JDBC driver.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29237
    
139

Dirk is correct. I was thinking of the URL connection string.
Bhavin Sanghani
Ranch Hand

Joined: Dec 17, 2003
Posts: 67
Hi frnds,

Thanks for the reply...ofcourse, info of driver will be available in doc of database..but my curiosity is to know about list of db with driver string..or if any standard is there? and database wise for diff version, string will be different? depreciation of that class is allowed?

while in ODBC that is not case because u can visualize it and select it...can i fulfill this purpose even with Java?

-bhavin sanghani
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC driver string
 
Similar Threads
Sybase Datasource in WSAD EE
new String() vs toString
string
Diff between string and string buffer
String.compareTo()