[jboss-user] [EJB 3.0] - Re: deleted entity passed to persist exception ???

2008-08-20 Thread nonreva
With Jboss 4.2.2GA I am experiencing a similar problem. The gist of it is (within a single container managed transaction): 1. I remove an item from this collection... | @OneToMany(mappedBy = "ivrAccount", cascade = CascadeType.ALL) | public Collection linkedAccounts = new HashSet();

[jboss-user] [EJB 3.0] - Re: deleted entity passed to persist:

2007-10-10 Thread m.shinde
Thanx for your input. But I am getting the same exception. This exception is occurred only when I am trying to remove ArticleSupplier immediately after persisting this entity. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093299#4093299 Reply to the po

[jboss-user] [EJB 3.0] - Re: deleted entity passed to persist:

2007-10-09 Thread waynebaylor
looks like your deleting the ArticleSupplierPrice objects from the DB, but not removing ArticleSupplier's references to the objects. maybe change your code to something like: | public void deleteSupplierDetails() | { | if (this.artSuppPriceList != null) | { | ArticleS