Statement and prepareStatement are interface so what's the name of their implementation class. I mean what is the name of the class which exactly defining the methods of statement and preparestatemnt..
Beginning is the half of every action..............
stu derby
Ranch Hand
Joined: Dec 15, 2005
Posts: 333
posted
0
The Statement and PreparedStatement interfaces define the methods those classes support. You can work very succesfully with JDBC just using the interface methods.
Vendor implementations of JDBC drivers sometimes have additional methods, but many programmers avoid using vendor methods because they're not part of the JDBC standard and therefore not available when using other drivers and databases.
Kj Reddy
Ranch Hand
Joined: Sep 20, 2003
Posts: 1697
posted
0
Implementation class names depends on vendor, normally we do not use those class names as they are not part Java api.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.