[jboss-user] [EJB 3.0] - Detached Entity passed to persist

2009-01-14 Thread mravikrish
Hi All, I am using jsf and ejb3 for my project. i am getting the following exception Detached Entiy passed to persist while persisting project object. i am creating this project object and passsing as parameter to ejb session bean method. for the first time it is working fine. but

[jboss-user] [EJB 3.0] - detached entity passed to persist

2008-11-29 Thread mravikrish
Hello, Hello, I am ramu. while adding a new record . i am gettng the following exception javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist can any body suggest. please it is urgent. Thank You K Ramu View the

[jboss-user] [EJB 3.0] - detached entity passed to persist

2007-04-24 Thread graflaszlo
Hi all, I have an entity, named AdatlapElozetesR, wich looks like this: | package mypackage; | | import java.util.*; | import javax.persistence.*; | | @Entity | @Table(name = ADATLAPELOZETESR, uniqueConstraints = {}) | public class AdatlapElozetesR implements

[jboss-user] [EJB 3.0] - Detached entity passed to persist

2006-09-19 Thread jactor
Hi! I receive an error when I try to persist an entity bean. I have a bean (A) which relates to another bean (B). This relation is annotated as @ManyToOne(cascade = CascadeType.ALL) and @JoinColumn(nullable = false) The enity bean (B) has only one property beside the autogenerated id (Long)