@Override protected boolean invokeSaveLifecycle(Object entity, EntityPersister persister, EventSource source) { callbackHandler.preCreate( entity ); //always call the precreate event even if on safe vetoe it return super.invokeSaveLifecycle( entity, persister, source ); } }
@Override protected Serializable saveWithGeneratedId( Object entity, String entityName, Object anything, EventSource source, boolean requiresImmediateIdAccess) { callbackHandler.preCreate( entity ); return super.saveWithGeneratedId( entity, entityName, anything, source, requiresImmediateIdAccess ); } }
@Override protected Serializable saveWithGeneratedId(Object entity, String entityName, Object anything, EventSource source, boolean requiresImmediateIdAccess) { callbackHandler.preCreate( entity ); return super.saveWithGeneratedId( entity, entityName, anything, source, requiresImmediateIdAccess ); } }
@Override protected boolean invokeSaveLifecycle(Object entity, EntityPersister persister, EventSource source) { callbackHandler.preCreate( entity ); //always call the precreate event even if on safe vetoe it return super.invokeSaveLifecycle( entity, persister, source ); } }
@Override protected Serializable saveWithRequestedId(Object entity, Serializable requestedId, String entityName, Object anything, EventSource source) { callbackHandler.preCreate( entity ); return super.saveWithRequestedId( entity, requestedId, entityName, anything, source ); }
@Override protected Serializable saveWithGeneratedId(Object entity, String entityName, Object anything, EventSource source, boolean requiresImmediateIdAccess) { callbackHandler.preCreate( entity ); return super.saveWithGeneratedId( entity, entityName, anything, source, requiresImmediateIdAccess ); }
@Override protected boolean invokeSaveLifecycle(Object entity, EntityPersister persister, EventSource source) { callbackHandler.preCreate( entity ); //always call the precreate event even if on safe vetoe it return super.invokeSaveLifecycle( entity, persister, source ); } }
@Override protected Serializable saveWithGeneratedId( Object entity, String entityName, Object anything, EventSource source, boolean requiresImmediateIdAccess) { callbackHandler.preCreate( entity ); return super.saveWithGeneratedId( entity, entityName, anything, source, requiresImmediateIdAccess ); }
@Override protected Serializable saveWithRequestedId( Object entity, Serializable requestedId, String entityName, Object anything, EventSource source) { callbackHandler.preCreate( entity ); return super.saveWithRequestedId( entity, requestedId, entityName, anything, source ); }
@Override protected Serializable saveWithRequestedId(Object entity, Serializable requestedId, String entityName, Object anything, EventSource source) { callbackHandler.preCreate( entity ); return super.saveWithRequestedId( entity, requestedId, entityName, anything, source ); }
@Override protected Serializable saveWithRequestedId( Object entity, Serializable requestedId, String entityName, Object anything, EventSource source) { callbackHandler.preCreate( entity ); return super.saveWithRequestedId( entity, requestedId, entityName, anything, source ); }
@Override protected Serializable saveWithGeneratedId( Object entity, String entityName, Object anything, EventSource source, boolean requiresImmediateIdAccess) { callbackHandler.preCreate( entity ); return super.saveWithGeneratedId( entity, entityName, anything, source, requiresImmediateIdAccess ); } }
@Override protected Serializable saveWithRequestedId(Object entity, Serializable requestedId, String entityName, Object anything, EventSource source) { callbackHandler.preCreate( entity ); return super.saveWithRequestedId( entity, requestedId, entityName, anything, source ); }
@Override protected Serializable saveWithRequestedId(Object entity, Serializable requestedId, String entityName, Object anything, EventSource source) { callbackHandler.preCreate( entity ); return super.saveWithRequestedId( entity, requestedId, entityName, anything, source ); }
@Override protected boolean invokeSaveLifecycle(Object entity, EntityPersister persister, EventSource source) { callbackHandler.preCreate( entity ); //always call the precreate event even if on safe vetoe it return super.invokeSaveLifecycle( entity, persister, source ); } }
@Override protected Serializable saveWithRequestedId( Object entity, Serializable requestedId, String entityName, Object anything, EventSource source) { callbackHandler.preCreate( entity ); return super.saveWithRequestedId( entity, requestedId, entityName, anything, source ); }
@Override protected Serializable saveWithGeneratedId( Object entity, String entityName, Object anything, EventSource source, boolean requiresImmediateIdAccess) { callbackHandler.preCreate( entity ); return super.saveWithGeneratedId( entity, entityName, anything, source, requiresImmediateIdAccess ); } }
@Override protected Serializable saveWithRequestedId( Object entity, Serializable requestedId, String entityName, Object anything, EventSource source) { callbackHandler.preCreate( entity ); return super.saveWithRequestedId( entity, requestedId, entityName, anything, source ); }
@Override protected Serializable saveWithGeneratedId(Object entity, String entityName, Object anything, EventSource source, boolean requiresImmediateIdAccess) { callbackHandler.preCreate( entity ); return super.saveWithGeneratedId( entity, entityName, anything, source, requiresImmediateIdAccess ); } }
@Override protected Serializable saveWithGeneratedId(Object entity, String entityName, Object anything, EventSource source, boolean requiresImmediateIdAccess) { callbackHandler.preCreate( entity ); return super.saveWithGeneratedId( entity, entityName, anything, source, requiresImmediateIdAccess ); } }