Simple transaction rollback was working with hypersonic, but seems not to be working 
when we switched to mysql. 

Running mysql-connector-java-3.0.11 and mysql 4.0.18-0 (client and server) with JBoss 
3.2.3 java 1.4.2_04.

We have 2 stateless session beans FooService and BarService. FooService has a 
createFoo() method which, after creating an FooBean entity bean (CMP, CMR), calls  a 
bar() method on BarService.  Bar() throws a RemoteException. 

I see the TransactionRolbackException as triggered by bar() on my JBoss console, but 
the FooBean is still in the database when I get back to the client. As I said, with 
hypersonic this was not the case.

Both FooService and BarService are declared to have container managed transactions, 
and both createFoo(0 and bar() have the required transaction attribute. There is no 
client transaction.

Is there some configuration that needs to be changed or what?






View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831097#3831097

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831097


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to