File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes One-To-Many Bidirectional org.hibernate.exception.ConstraintViolationException on DELETE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "One-To-Many Bidirectional org.hibernate.exception.ConstraintViolationException on DELETE" Watch "One-To-Many Bidirectional org.hibernate.exception.ConstraintViolationException on DELETE" New topic
Author

One-To-Many Bidirectional org.hibernate.exception.ConstraintViolationException on DELETE

Markus Schmider
Ranch Hand

Joined: Feb 25, 2007
Posts: 109






When I run the test I get


I thought CascadeType.ALL would take care of this. What's my mistake?

Thanks for any input.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: One-To-Many Bidirectional org.hibernate.exception.ConstraintViolationException on DELETE