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/
|
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4024995#4024995
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024995
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user