Examples of using Connector/J are located throughout this document. This section provides a summary and links to these examples.
Example 3.4, “Connector/J: Obtaining a connection from the
DriverManager”Example 3.5, “Connector/J: Using java.sql.Statement to execute a
SELECTquery”Example 3.9, “Connector/J: Setting
CallableStatementinput parameters”Example 3.10, “Connector/J: Retrieving results and output parameter values”
Example 3.12, “Connector/J: Retrieving
AUTO_INCREMENTcolumn values usingSELECT LAST_INSERT_ID()”Example 3.13, “Connector/J: Retrieving
AUTO_INCREMENTcolumn values inUpdatable ResultSets”Example 3.14, “Connector/J: Using a connection pool with a J2EE application server”
Example 3.15, “Connector/J: Example of transaction with retry logic”