On Sun, Jan 05, 2003 at 11:32:05PM -0500, David Jencks wrote:
> inside the jboss vm, if you start a user transaction or container managed
> transaction, any connection obtained in the same thread is enrolled in the
> transaction.

I suppose it become more complicated in my case. I have one method in a bean that use 
CMP and another that use SQL. The problem occurs when these are combined in one 
thransaction. I have a unit test that start a usertransaction and then call both of 
these. The thread is probably not the same then.


>  This assumes the connection is of a type that supports jta
> transactions: for jdbc, this means you didn't set up a
> NoTxConnectionManager.

How do I set up that? I just get the connection from a datasource from jndi.

> 
> david jencks
> 

Marius Kotsbak
Boost communications AS


-------------------------------------------------------
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