Re: READ_COMMITTED configuration exception

2012-08-24 Thread Romain Manni-Bucau
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

Re: READ_COMMITTED configuration exception

2012-08-24 Thread Diego Cattelan
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

Re: READ_COMMITTED configuration exception

2012-08-24 Thread Romain Manni-Bucau
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

Re: READ_COMMITTED configuration exception

2012-08-24 Thread 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 the properties sections too. -- Bjorn Danielsson Cuspy Code AB Romain Manni-Bucau wrote: > guess you need the properties format no? > > DefaultTransactio

Re: READ_COMMITTED configuration exception

2012-08-24 Thread Romain Manni-Bucau
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

Re: READ_COMMITTED configuration exception

2012-08-24 Thread Bjorn Danielsson
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 > > >

READ_COMMITTED configuration exception

2012-08-24 Thread Diego Cattelan
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[

Re: READ_COMMITTED configuration exception

2012-08-24 Thread Romain Manni-Bucau
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.** >>

Re: READ_COMMITTED configuration exception

2012-08-24 Thread Diego Cattelan
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

Re: READ_COMMITTED configuration exception

2012-08-24 Thread AndyG
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

READ_COMMITTED configuration exception

2012-08-24 Thread Diego Cattelan
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