• Post Reply Bookmark Topic Watch Topic
  • New Topic

registering the database driver  RSS feed

 
biswajit ray
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why can�t the following code do the job of �locate, load, and link�?

org.gjt.mm.mysql.Driver driver = new org.gjt.mm.mysql.Driver();

will it locate , load and link by executing the static block? what is the problem in it?
 
sathish kumar
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are you trying to do?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!