[JBoss-user] [EJB/JBoss] - Re: Rollback not removing row in DB

2004-08-04 Thread antalf
Sorry, forgot to say that!
I'm using Mysql 4.0.17 for DB and the driver is mysql-connector-J 3.0.14
 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3844082#3844082

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844082


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Rollback not removing row in DB

2004-08-03 Thread antalf
Hi,

I'm having trouble when trying to rollback a transaction when a new entity bean is 
created. The problem is that if a rollback occurs (calling the setRollbackOnly()) all 
the changes are rolled back but the row is not deleted, even though the create() call 
on the entity bean is beeing made in the same transaction (eg. in a session bean 
method first I create the entity bean then I modify its fields and do a rollback: only 
the modifications are rolled back - the row is created in the db).

I'm using CMP and CMT, and the methods of the entity  and session bean I use have the 
trasaction attribute set to Required.

Anyone has any Idea of what this might be??
Thanks in advance.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3843980#3843980

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843980


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user