Examples of using Connector/J are located throughout this document, this section provides a summary and links to these examples.
Example 22.1, “Connector/J: Obtaining a connection from the
DriverManager”Example 22.2, “Connector/J: Using java.sql.Statement to execute a
SELECTquery”Example 22.6, “Connector/J: Setting
CallableStatementinput parameters”Example 22.7, “Connector/J: Retrieving results and output parameter values”
Example 22.9, “Connector/J: Retrieving
AUTO_INCREMENTcolumn values usingSELECT LAST_INSERT_ID()”Example 22.10, “Connector/J: Retrieving
AUTO_INCREMENTcolumn values inUpdatable ResultSets”Example 22.11, “Connector/J: Using a connection pool with a J2EE application server”
Example 22.12, “Connector/J: Example of transaction with retry logic”