Hi,
I'm not exactly understanding your question. Is it, that no validation takes place upon deleting an entity? If so, you can configure this in your persistence.xml by specifying the validation group to be using during the delete lifecycle event (by default, only upon inserts and updates a validation of JPA entities is performed). Otherwise an example of what you think should happen would help to understand the issue you're facing.
Hth,
--Gunnar
_________________ Visit my blog at http://musingsofaprogrammingaddict.blogspot.com/
|