This content has been marked as final.
Show 2 replies
-
1. Re: Disable event-based validation
pmuir Feb 17, 2007 6:08 PM (in response to straubp)Ask this on the hibernate JSR-220 forum.
-
2. Re: Disable event-based validation
straubp Mar 5, 2007 4:02 AM (in response to straubp)Now I know! For anyone who is interested:
You can overwrite the default use of org.hibernate.secure.JACCPreInsertEventListener and org.hibernate.valitator.event.ValidateEventListener for the pre-insert event and org.hibernate.secure.JACCPreUpdateEventListener, org.hibernate.valitator.event.ValidateEventListener for the pre-update event by adding those lines to the persistence.xml:<property name="hibernate.ejb.event.pre-insert" value="org.hibernate.secure.JACCPreInsertEventListener"/> <property name="hibernate.ejb.event.pre-update" value="org.hibernate.secure.JACCPreUpdateEventListener"/>