Examples of using Connector/J are located throughout this document, this section provides a summary and links to these examples.
Example 23.1, “Obtaining a connection from the DriverManager”
Example 23.2, “Using java.sql.Statement to execute a SELECT query”
Example 23.7, “Retrieving results and output parameter values”
Example 23.8, “Retrieving AUTO_INCREMENT column values using
Statement.getGeneratedKeys()”
Example 23.9, “Retrieving AUTO_INCREMENT column values using
SELECT LAST_INSERT_ID()”
Example 23.10, “Retrieving AUTO_INCREMENT column values in
Updatable ResultSets”
Example 23.11, “Using a connection pool with a J2EE application server”

User Comments
Add your own comment.