JavaRanch is a community of people from all over the world, many of who are not native English speakers. While using abbreviations like "u" instead of spelling out "you" is convenient when text messaging your friends on a cell phone or in a chat room, it presents an extra challenge to those that are already struggling with English. Additionally, such shortcuts may confound automated translation tools that patrons of the Ranch may be making use of.
I would like to ask for your help in making the content of JavaRanch a little easier to read for everybody that visits here by not using such abbreviations.
Just a quick hint to Santy: Take a look at the classes contained in the driver package you use to connect to your database (for example: com.jdbc.mysql in the mysql_3.0.14.jar for MySQL database). The driver class you specify in Class.forName("com.jdbc.mysql.Driver") will register your specific driver. The DriverManager.getConnection(url) then asks for a Connection from all the registered drivers. If the DriverManager finds a driver which can connect to the url you have specified, the returned Connection will then point to all the implemented classes such as Statement which are specific to your database. Therefore you do not have to handle the implementation yourself. If you can, get hold of the source code for your driver or decompile the driver class files with a tool like JAD (http://kpdus.tripod.com/jad.html). This will give you a good idea of how a database vendor has implemented the standard jdbc interfaces. The mysql driver's source & binary is available at: http://dev.mysql.com/downloads/connector/j/3.0.html
Hope this helps
Joined: Sep 20, 2004
Hi Morag, Thank you for giving such a good explanation now i got some idea about jdbc api.Thnks Again