Working with multiple connections to a single database
This section discusses deploying
so that many connections can exist to a single database.
Deployment options and threading and connection modes
A database can be available to multiple connections in several situations.
Multi-user database access
Multi-user database access is possible if Derby is running inside a server framework.
Multiple connections from a single application
A single application can work with multiple Connections to the same database and assign them to different threads.
Controlling Derby application behavior
The JDBC Connection and Transaction Model
Result set and cursor mechanisms
Locking, concurrency, and isolation
Working with multiple threads sharing a single connection
Working with database threads in an embedded environment
Working with Derby SQLExceptions in an application