java.sql.Connection.setTransactionIsolation method

java.sql.Connection.TRANSACTION_SERIALIZABLE, java.sql.Connection.TRANSACTION_REPEATABLE_READ, java.sql.Connection.TRANSACTION_READ_COMMITTED, and java.sql.Connection.TRANSACTION_READ_UNCOMMITTED transaction isolations are available from a Derby database.

TRANSACTION_READ_COMMITTED is the default isolation level.

Changing the current isolation for the connection with setTransactionIsolation commits the current transaction and begins a new transaction. For more details about transaction isolation, see "Locking, concurrency, and isolation" in the Java DB Developer's Guide.

Related concepts
Connection functionality not supported
Related reference
java.sql.Connection.setReadOnly method
java.sql.Connection.isReadOnly method