Working with multiple threads sharing a single connection
JDBC allows you to share a single
Connection
among multiple threads.
Pitfalls of sharing a connection among threads
Multi-thread programming tips
Example of threads sharing a statement
Parent topic:
Controlling Derby application behavior
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