This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 30076
    
149

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: 30076
    
149

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
Diff between string and string buffer
new String() vs toString
String.compareTo()
string