1. Deleted entity passed to persist exception stackoverflow.comI have this kind of entities: Document | n .. to ..1 | DocumentType ... |
2. Hibernate many-to-many self-reference, how to delete without cascade? stackoverflow.comI have a many-to-many relation on a single object with itself:
|
3. Error Deleting Persisted Objects: Hibernate/MySQL coderanch.comDear Sirs et Madames, I have some java code which is trying to delete a list of users. However I get an error which I have yet to work out what it means, am hoping someone can shed some light? I have java code as follows: public void deleteUsers(List |
4. Deleting persistent objects forum.hibernate.orgI found deleting PO with Hibernate to be a big nuisance. If I want to delete a child, it looks like I am always violating some kind of constraints. If I have a unidirectional association from a parent to its child and got hold of the child, it looks like there is no way of deleting it without introducing a bidirectional ... |
5. re-persist deleted entity : need to clean id of entity forum.hibernate.orgI'm working on a client/server app in jboss ejb3. If i want to undo a deletion of an object, i call em.persist(o), where o used to be a detached instance, but has been em.remove(o) in an earlier transaction. This persist() invocation gives the "passing detached instance to persist" because hibernate thinks the thing is still detached (probably because the deletion of ... |
6. helpEntityNotFoundException deleted entity passed to persist forum.hibernate.org@Entity(name = "Experiment") public class Experiment implements Equals, HashCode, ToString { protected List |
7. "Deleted entity passed to persist" problem.... forum.hibernate.orgHello, I ve tried to fix this issue on my project for hours but i still don't know why I m getting it. Basicly I have two entities : - Recommendation - Criterion mapped as follow : Code: public class Recommendation implements PkIntegerAware { @Id @Column(name="ID") @GeneratedValue private int ... |
8. deleted entity passed to persist forum.hibernate.orgHello I have a gui tree and want to handle Drag&Drop handling in one transaction. Drag an TreeNode on to another TreeNode should do the following on the server; remove the dragging TreeNode from it's parent and add it to the new parent. Well this always results in the same exception: org.hibernate.ObjectDeletedException: deleted entity passed to persist: Here my code: Code: ... |
9. when persisting one table, another tables gets deleted.. forum.hibernate.orgAuthor Message LuckY07 Post subject: when persisting one table, another tables gets deleted.. Posted: Sat Jul 11, 2009 9:35 am Newbie Joined: Mon Jul 06, 2009 10:38 am Posts: 17 I am following a tutorial on setting up Hibernate JPA at the following site: http://schuchert.wikispaces.com/JPA+Tutorial+1+-+Getting+Started everything works and compiles. however, when I run the JUnit test CompanyTest, I lose ... |