Examples of using Connector/J are located throughout this document, this section provides a summary and links to these examples.
Example 21.1, “Connector/J: Obtaining a connection from the
DriverManager”
Example 21.2, “Connector/J: Using java.sql.Statement to execute a
SELECT query”
Example 21.6, “Connector/J: Setting CallableStatement input
parameters”
Example 21.7, “Connector/J: Retrieving results and output parameter values”
Example 21.9, “Connector/J: Retrieving AUTO_INCREMENT column values
using SELECT LAST_INSERT_ID()”
Example 21.10, “Connector/J: Retrieving AUTO_INCREMENT column values
in Updatable ResultSets”
Example 21.11, “Connector/J: Using a connection pool with a J2EE application server”
Example 21.12, “Connector/J: Example of transaction with retry logic”

User Comments
Add your own comment.