@Override public boolean isIdentifierRollbackEnabled() { return delegate.isIdentifierRollbackEnabled(); }
public boolean isIdentifierRollbackEnabled() { return sessionFactoryOptions.isIdentifierRollbackEnabled(); }
if ( session.getFactory().getSessionFactoryOptions().isIdentifierRollbackEnabled() ) { final EntityEntry ownerEntry = persistenceContext.getEntry( coll.getOwner() ); if ( ownerEntry != null ) {
@Override public boolean isIdentifierRollbackEnabled() { return delegate.isIdentifierRollbackEnabled(); }
public boolean isIdentifierRollbackEnabled() { return sessionFactoryOptions.isIdentifierRollbackEnabled(); }
LOG.debugf( "Deleted entity synthetic identifier rollback: %s", enabledDisabled( sessionFactoryOptions.isIdentifierRollbackEnabled() ) ); LOG.debugf( "Default entity-mode: %s", sessionFactoryOptions.getDefaultEntityMode() ); LOG.debugf( "Check Nullability in Core (should be disabled when Bean Validation is on): %s", enabledDisabled( sessionFactoryOptions.isCheckNullability() ) );
@Override public void onPostDelete(PostDeleteEvent event) { if ( state.eventsDisabled() ) { return; } final Object entity = event.getEntity(); if ( getDocumentBuilder( entity ) != null ) { // FIXME The engine currently needs to know about details such as identifierRollbackEnabled // but we should not move the responsibility to figure out the proper id to the engine boolean identifierRollbackEnabled = event.getSession() .getFactory() .getSessionFactoryOptions() .isIdentifierRollbackEnabled(); processWork( tenantIdentifier( event ), entity, event.getId(), WorkType.DELETE, event, identifierRollbackEnabled ); } }
if ( session.getFactory().getSessionFactoryOptions().isIdentifierRollbackEnabled() ) { final EntityEntry ownerEntry = persistenceContext.getEntry( coll.getOwner() ); if ( ownerEntry != null ) {
LOG.debugf( "Deleted entity synthetic identifier rollback: %s", enabledDisabled( sessionFactoryOptions.isIdentifierRollbackEnabled() ) ); LOG.debugf( "Check Nullability in Core (should be disabled when Bean Validation is on): %s", enabledDisabled( sessionFactoryOptions.isCheckNullability() ) ); LOG.debugf( "Allow initialization of lazy state outside session : %s", enabledDisabled( sessionFactoryOptions.isInitializeLazyStateOutsideTransactionsEnabled() ) );