Working with multiple threads sharing a single connection

JDBC allows you to share a single Connection among multiple threads.

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