Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Data being retrieved even though MySQL driver is not loaded  RSS feed

 
RajivAwadhesh kumar
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not able to understand how the below code works even
though I have not loaded the MySQL driver?

 
Horst Stieg
Greenhorn
Posts: 13
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!