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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 30392
    
150

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: 30392
    
150

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
 
 
subject: JDBC driver string