Mantis - Resin
Viewing Issue Advanced Details
4627 tweak always 06-20-11 04:15 06-20-11 10:16
mnsh  
ferg  
normal  
closed 4.0.19  
fixed  
none    
none 4.0.20  
0004627: <transaction-isolation>..</transaction-isolation> should accept / pass through numeric values
Currently, the only values allowed in:

<database>
 <connection>
  <transaction-isolation>...</transaction-isolation>
 </connection>
</database>

are none, read-committed, read-uncommitted, repeatable-read and serializable.

Since some drivers define additional isolation levels, it would be useful if numeric values were allowed and simply passed through to the underlying Connection.
For example: with sqljdbc (the jdbc driver for MS SQL Server), a value of com.microsoft.sqlserver.jdbc.SQLServerConnection.TRANSACTION_SNAPSHOT == 4096 is used to select the "snapshot" isolation level.

Notes
(0005330)
ferg   
06-20-11 10:16   
env/1198