java.sql.Connection.setTransactionIsolation method

The transaction isolation levels java.sql.Connection.TRANSACTION_SERIALIZABLE, java.sql.Connection.TRANSACTION_REPEATABLE_READ, java.sql.Connection.TRANSACTION_READ_COMMITTED, and java.sql.Connection.TRANSACTION_READ_UNCOMMITTED 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 Derby Developer's Guide.

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