I've tested that I am able to instantiate jdbc java.mysql.jdbc.Driver
using new java.mysql.jdbc.Driver()
instead of Class.forName(java.mysql.jdbc.Driver)
.
Just wanted to know which one is a better way to load the Driver into memory and why ?
Please refer me to some internet links for the same :)