Configure a default JDBC transaction-isolation

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
 
(renamed tag to directive)
 
Line 1: Line 1:
 
[[Category:HowTo]] [[Category:Database]]
 
[[Category:HowTo]] [[Category:Database]]
  
== Connection Configuration ==
+
The JDBC connections can be initialized with specified values of the transaction-isolation, catalog, and read-only values.  The <connection> directive configures these:
 
+
The JDBC connections can be initialized with specified values of the transaction-isolation, catalog, and read-only values.  The <connection> tag configures these:
+
  
 
  <database jndi-name="jdbc/example">
 
  <database jndi-name="jdbc/example">

Latest revision as of 20:21, 21 February 2006


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