Summary

Today you covered the main areas of the JDBC API, which are Statement, PreparedStatement, and CallableStatement. You studied the methods in each interface and the different scenarios in which you might use the Statement, PreparedStatement, and CallableStatement interfaces.

The next topic that you explored was using the ResultSet and ResultSetMetaData interfaces for retrieving data. You also learned about the new enhancements provided by the JDBC 2.0 API, namely, scrollable and updatable result sets. Another new enhancement in the JDBC 2.0 API is the batch update concept that allowed you to group SQL statements and execute them all at once.

RowSet and RowSetMetaData, which are two entirely new extensions to the JDBC 2.0 API, were also ...

Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.