The JDBC Connection and Transaction Model

Session and transaction capabilities for SQL are handled through JDBC procedures, not by SQL commands.

JDBC defines a system session and transaction model for database access. A session is the duration of one connection to the database and is handled by a JDBC Connection object.

Related concepts
SQL and JDBC ResultSet/Cursor mechanisms
Locking, concurrency, and isolation
Working with multiple connections to a single database
Working with multiple threads sharing a single connection
Working with database threads in an embedded environment
Working with Derby SQLExceptions in an Application