Bugs item #504481, was opened at 2002-01-16 08:58 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=504481&group_id=22866
Category: JBossCMP Group: v2.4 (stable) Status: Closed Resolution: None Priority: 9 Submitted By: Shravan (cskreddy74) Assigned to: Andreas Schaefer (schaefera) Summary: INSERTING AN ALREADY EXISTING BEAN Initial Comment: Hi, I get this error ehen I am trying to insert the record into the database form the bean, basically I deleted the record from the database manually and tried to insert it from the bean, I read the article from the previous postings, but could not figure out how it works...... please have a look at the smalll code of the CMP bean which is attached as .zip files and help me ..... javax.transaction.TransactionRolledbackException: INSERTING AN ALREADY EXISTING BEAN, ID = 1; nested exception is: java.lang.IllegalStateException: INSERTING AN ALREADY EXISTING BEAN, ID = 1 Thanks in advance Shravan ---------------------------------------------------------------------- Comment By: Bill Burke (patriot1burke) Date: 2002-01-16 12:49 Message: Logged In: YES user_id=176497 If you create a bean through EJB, then delete it manually from the database, then try to create it again you will fail in this way because JBoss still has the bean in cache. I'm closing this bug. It is not a bug. You are using it incorrectly. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=504481&group_id=22866 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development