| Author |
why java.sql package contain most interface like Statement,preparedStatement ?
|
vitthal wable
Greenhorn
Joined: Sep 09, 2006
Posts: 16
|
|
|
why java.sql package contain most interface like Statement,preparedStatement,ResultSet?
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
All these interfaces are implemented in a database specific way by the JDBC driver you use. So you can code to the interface, but change the implementation at runtime.
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
 |
|
|
subject: why java.sql package contain most interface like Statement,preparedStatement ?
|
|
|