O'Reilly logo

Essential ADO.NET by Bob Beauchemin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

9.9. ADO.NET for JDBC Programmers

JDBC is related in concept to ODBC and shares some additional features with OLE DB and ADO. JDBC's three main interfaces are Connection, Statement, and ResultSet. There are two additional subclasses of the Statement interface: PreparedStatement (statements that can use input parameters) and CallableStatement (statements that can return output parameters).

The three main JDBC interfaces most closely correspond to ADO.NET's IDb-Connection, IDbCommand, and IDataReader. JDBC also defines RowSet, an interface that inherits from ResultSet. It is meant for implementing disconnected ResultSet operations, although the exact semantics of this class differ with each implementation. Some available beta implementations of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required