Configure a default JDBC transaction-isolation

From Resin 3.0

Revision as of 12:21, 21 February 2006 by Sam (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


The JDBC connections can be initialized with specified values of the transaction-isolation, catalog, and read-only values. The <connection> directive configures these:

<database jndi-name="jdbc/example">
  <driver>
    ...
  </driver>
  <connection>
    <transaction-isolation>read-committed</transaction-isolation>
    <read-only/>
  </connection>
</database>
Personal tools