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 Data being retrieved even though MySQL driver is not loaded Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Data being retrieved even though MySQL driver is not loaded" Watch "Data being retrieved even though MySQL driver is not loaded" New topic
Author

Data being retrieved even though MySQL driver is not loaded

RajivAwadhesh kumar
Greenhorn

Joined: May 20, 2011
Posts: 24
I am not able to understand how the below code works even
though I have not loaded the MySQL driver?

Horst Stieg
Greenhorn

Joined: Oct 14, 2011
Posts: 13

You are probably using a JDBC 4.0 driver.

See here:

Any JDBC 4.0 drivers that are found in your class path are automatically loaded. (However, you must manually load any drivers prior to JDBC 4.0 with the method Class.forName.)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Data being retrieved even though MySQL driver is not loaded
 
Similar Threads
websphere studio and mysql
problem in creating mysql datasource on weblogic 10.3.4
JDBC MySQL Driver Connection
ClassNotFoundException with ResourceBundle
Sockets