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
Result set and 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