Skip to content

Commit

Permalink
HHH-19179 Remove commit 328fa23 by Andrej Golovnin
Browse files Browse the repository at this point in the history
  • Loading branch information
dreab8 committed Feb 25, 2025
1 parent e0c1c22 commit a9ed853
Showing 1 changed file with 0 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

import org.hibernate.HibernateException;
import org.hibernate.event.spi.EventSource;
import org.hibernate.persister.entity.EntityPersister;
import org.hibernate.type.CollectionType;
import org.hibernate.type.Type;

/**
* A session action that may be cascaded from parent entity to its children
Expand Down Expand Up @@ -58,34 +56,6 @@ Iterator<?> getCascadableChildrenIterator(
*/
boolean deleteOrphans();


/**
* Does the specified cascading action require verification of no cascade validity?
*
* @return True if this action requires no-cascade verification; false otherwise.
*
* @deprecated No longer used
*/
@Deprecated(since = "6.6", forRemoval = true)
default boolean requiresNoCascadeChecking() {
return false;
}

/**
* Called (in the case of {@link #requiresNoCascadeChecking} returning true) to validate
* that no cascade on the given property is considered a valid semantic.
*
* @param session The session within which the cascade is occurring.
* @param parent The property value owner
* @param persister The entity persister for the owner
* @param propertyType The property type
* @param propertyIndex The index of the property within the owner.
*
* @deprecated No longer used
*/
@Deprecated(since = "6.6", forRemoval = true)
default void noCascade(EventSource session, Object parent, EntityPersister persister, Type propertyType, int propertyIndex) {}

/**
* Should this action be performed (or noCascade consulted) in the case of lazy properties.
*/
Expand Down

0 comments on commit a9ed853

Please sign in to comment.