You can only specify it per-datasource, not per-bean.  Most dbs seem to
commit or throw an error if you try to change the isolation level inside a
transaction.  I guess it would be possible to include a tx isolation spec
with the method transaction specs, but I think it would be pretty
confusing, since only the method call that actually started the tx would
have an effect.


To set it, include something like

<config-property type="java.lang.String"
name="TransactionIsolation>TRANSACTION_READ_COMMITTED</config-property>

in your db-service.xml file.

david jencks

On 2002.09.19 11:20:34 -0400 Jim Crossley wrote:
> I hope this isn't too dumb of a question, but how do I specify a 
> READ_COMMITTED isolation level for one of my CMP beans?
> 
> The QuickStart guide mentions the different isolation levels, but it
> doesn't 
> tell me how to specify them.
> 
> Thanks,
> Jim
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to