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.
This means that you entity is not being managed by the entity manager. Try merging it back in with EntityManager.merge() before persisting the changes.