Bugs item #463548, was opened at 2001-09-21 05:29 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=463548&group_id=22866 Category: JBossServer Group: v2.4 (stable) Status: Open Resolution: None Priority: 5 Submitted By: Christian Riege (lqd) Assigned to: Nobody/Anonymous (nobody) Summary: Bug in cache / setRollbackOnly bug Initial Comment: explained in detail in the attached testcase.zip file, here's the abstract: the attached testcase shows 2 bugs in JBoss 2.4.x: (using CMP and CMT) 1. During create(pk) of an entity bean a CreateException is thrown and setRollbackOnly gets invoked. The record is not commited to the database. However, subsequent calls to findByPrimaryKey(pk) actually succeed. Expected behaviour: container should throw ObjectNotFoundException. 2. [this is from JBoss 2.4.1 onwards, 2.4.0 works ok]: calling setRollbackOnly and throwing a CreateException within the Entity Bean causes the container to throw a TransactionRolledbackException to the client (also shows up on server console). 2.4.0 works as expected and just transmits the CreateException back to the client. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=463548&group_id=22866 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development