1. How do I delete a row in a join table automatically, to avoid a ConstraintViolationException? stackoverflow.comThis seems like it should be a pretty simple question, or at least have a simple answer. But - I'm really not a database guy, and I'm still pretty far ... |
2. ConstraintViolationException when deleting an object forum.hibernate.orgHi, when I attempt to delete an object, Hibernate throws a ConstraintViolationException which is expected behaviour due to database referential integrity constraints. However, when I then attempt to refetch this object in the same session via get or load an "ObjectDeletedException: The object with that id was deleted" is thrown. However, if the session is closed and then reopened I can ... |
3. delete-orphan and ConstraintViolationException forum.hibernate.orgHibernate version: 3.2.4.sp1 Mapping documents: Code: |