yes, tomee with commons-dbcp manages alias:
isolation.put("NONE", 0);
isolation.put("READ_COMMITTED", 2);
isolation.put("READ_UNCOMMITTED", 1);
isolation.put("REPEATABLE_READ", 4);
isolation.put("SERIALIZABLE", 8);
*Romain Manni-Bucau*
*Twitter: @rmannibu
Since the properties are embedded in XML, you can put in a
comment after the integer constant:
DefaultTransactionIsolation 2
On TomEE 1.0
DefaultTransactionIsolation READ_COMMITTED
if I use
DefaultTransactionIsolation 2
TomEE give me a
SEVERE: Unable to deploy collapsed ear in war
i never tried, great to know :)
*Romain Manni-Bucau*
*Twitter: @rmannibucau*
*Blog: http://rmannibucau.wordpress.com*
2012/8/24 Bjorn Danielsson
> Doesn't work, properties comments must be at the beginning
> of the line. I use in tomee.xml, it's stripped by
> the XML parser so it works for
Doesn't work, properties comments must be at the beginning
of the line. I use in tomee.xml, it's stripped by
the XML parser so it works for the properties sections too.
--
Bjorn Danielsson
Cuspy Code AB
Romain Manni-Bucau wrote:
> guess you need the properties format no?
>
> DefaultTransactio
guess you need the properties format no?
DefaultTransactionIsolation = 2 # READ_COMMITTED
*Romain Manni-Bucau*
*Twitter: @rmannibucau*
*Blog: http://rmannibucau.wordpress.com*
2012/8/24 Bjorn Danielsson
> Since the properties are embedded in XML, you can put in a
> comment after the intege
Since the properties are embedded in XML, you can put in a
comment after the integer constant:
DefaultTransactionIsolation 2
--
Bjorn Danielsson
Cuspy Code AB
Diego Cattelan wrote:
> on apache-tomee-1.1.0-20120824.041036-118-webprofile
>
> when using READ_COMMITTED on Resource.xml
>
>
>
on apache-tomee-1.1.0-20120824.041036-118-webprofile
when using READ_COMMITTED on Resource.xml
...
defaultTransactionIsolation READ_COMMITTED
...
i'm getting an exception
SEVERE: Unable to deploy collapsed ear in war
StandardEngine[Catalina].StandardHost[localhost].StandardContext[
should be the same for both using resources.xml (int)
*Romain Manni-Bucau*
*Twitter: @rmannibucau*
*Blog: http://rmannibucau.wordpress.com*
2012/8/24 Diego Cattelan
> Hi Diego,
>>
>> The value needs to be the int value:
>>
>> http://docs.oracle.com/javase/**6/docs/api/constant-values.**
>>
Hi Diego,
The value needs to be the int value:
http://docs.oracle.com/javase/6/docs/api/constant-values.html#java.sql.Connection.TRANSACTION_NONE
java.sql.Connection
public static final int TRANSACTION_NONE0
public static final int TRANSACTION_READ_COMMITTED 2
publi
Hi Diego,
The value needs to be the int value:
http://docs.oracle.com/javase/6/docs/api/constant-values.html#java.sql.Connection.TRANSACTION_NONE
java.sql.Connection
public static final int TRANSACTION_NONE0
public static final int TRANSACTION_READ_COMMITTED 2
public
Hi all,
on apache-tomee-1.1.0-20120824.041036-118-webprofile
when specifing READ_COMMITTED on Resource.xml
...
defaultTransactionIsolation READ_COMMITTED
...
i'm getting the following exception
SEVERE: Unable to deploy collapsed ear in war
StandardEngine[Catalina].StandardHost[local
11 matches
Mail list logo