aspose file tools
The moose likes JDBC and the fly likes DriverManager.getConnection() Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "DriverManager.getConnection() " Watch "DriverManager.getConnection() " New topic
Author

DriverManager.getConnection()

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1300
What DriverManager.getConnection() does, if i don't give class.forName() ?
Kalai Selvan
Ranch Hand

Joined: Jul 07, 2004
Posts: 79
Hi,
If none of the driver which recognizes the connection string passed in
the getConnection() method is loaded, then it will throw an exception.....

Kalai Selvan T.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: DriverManager.getConnection()
 
Similar Threads
MS SQL driver
jdbc
JDBC Connectivity
Is this possible
GWT with database connection