java - jTDS SNAPSHOT isolation with spring transacion -


is there way use mssql snapshot transaction isolation spring transactions?

when try set

defaulttransactiondefinition def = new defaulttransactiondefinition(); def.setisolationlevel(4096); 

i

java.lang.illegalargumentexception: values of isolation constants allowed 

spring checks values defined in org.springframework.transaction.transactiondefinition used , trying set value 4096 becase corresponds jtds setting snapshot isolation:

/**  * sql server custom transaction isolation level.  */ public static final int transaction_snapshot = 4096; 

this in net.sourceforge.jtds.jdbc.connectionjdbc2


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -