Class ValidationInterceptor
java.lang.Object
org.hibernate.EmptyInterceptor
ch.tocco.nice2.persist.core.impl.hibernate.validation.ValidationInterceptor
- All Implemented Interfaces:
Serializable
,org.hibernate.Interceptor
public class ValidationInterceptor
extends org.hibernate.EmptyInterceptor
Interceptor
that validates entities upon save and update (flush).- See Also:
-
Field Summary
Fields inherited from class org.hibernate.EmptyInterceptor
INSTANCE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.hibernate.EmptyInterceptor
afterTransactionBegin, afterTransactionCompletion, beforeTransactionCompletion, findDirty, getEntity, getEntityName, instantiate, isTransient, onCollectionRecreate, onCollectionRemove, onCollectionUpdate, onDelete, onFlushDirty, onLoad, onPrepareStatement, onSave, postFlush
-
Constructor Details
-
ValidationInterceptor
-
-
Method Details
-
preFlush
- Specified by:
preFlush
in interfaceorg.hibernate.Interceptor
- Overrides:
preFlush
in classorg.hibernate.EmptyInterceptor
-
isDirty
-