4.6. Setting the Transaction Isolation

Kodo typically retains the default transaction isolation level of the JDBC driver. However, you can specify a transaction isolation level to use through the kodo.jdbc.TransactionIsolation configuration property. The following is a list of standard isolation levels. Note that not all databases support all isolation levels.

Example 4.9. Specifying a Transaction Isolation

JPA XML format:

<property name="kodo.jdbc.TransactionIsolation" value="repeatable-read"/>

JDO properties format:

kodo.jdbc.TransactionIsolation: repeatable-read


Skip navigation bar   Back to Top