Code example for Nullability

Methods: checkNullability

0
						version, 
						entity, 
						persister, 
						isCascadeDeleteEnabled, 
						session 
				) 
		); 
 
		cascadeAfterDelete( session, persister, entity, transientEntities ); 
 
		// the entry will be removed after the flush, and will no longer 
		// override the stale snapshot 
		// This is now handled by removeEntity() in EntityDeleteAction 
		//persistenceContext.removeDatabaseSnapshot(key); 
	} 
 
	private Object[] createDeletedState(EntityPersister persister, Object[] currentState, EventSource session) { 
		Type[] propTypes = persister.getPropertyTypes(); 
		final Object[] deletedState = new Object[propTypes.length]; 
//		TypeFactory.deepCopy( currentState, propTypes, persister.getPropertyUpdateability(), deletedState, session );