|
8 | 8 |
|
9 | 9 | import org.hibernate.HibernateException; |
10 | 10 | import org.hibernate.event.spi.EventSource; |
11 | | -import org.hibernate.persister.entity.EntityPersister; |
12 | 11 | import org.hibernate.type.CollectionType; |
13 | | -import org.hibernate.type.Type; |
14 | 12 |
|
15 | 13 | /** |
16 | 14 | * A session action that may be cascaded from parent entity to its children |
@@ -58,34 +56,6 @@ Iterator<?> getCascadableChildrenIterator( |
58 | 56 | */ |
59 | 57 | boolean deleteOrphans(); |
60 | 58 |
|
61 | | - |
62 | | - /** |
63 | | - * Does the specified cascading action require verification of no cascade validity? |
64 | | - * |
65 | | - * @return True if this action requires no-cascade verification; false otherwise. |
66 | | - * |
67 | | - * @deprecated No longer used |
68 | | - */ |
69 | | - @Deprecated(since = "6.6", forRemoval = true) |
70 | | - default boolean requiresNoCascadeChecking() { |
71 | | - return false; |
72 | | - } |
73 | | - |
74 | | - /** |
75 | | - * Called (in the case of {@link #requiresNoCascadeChecking} returning true) to validate |
76 | | - * that no cascade on the given property is considered a valid semantic. |
77 | | - * |
78 | | - * @param session The session within which the cascade is occurring. |
79 | | - * @param parent The property value owner |
80 | | - * @param persister The entity persister for the owner |
81 | | - * @param propertyType The property type |
82 | | - * @param propertyIndex The index of the property within the owner. |
83 | | - * |
84 | | - * @deprecated No longer used |
85 | | - */ |
86 | | - @Deprecated(since = "6.6", forRemoval = true) |
87 | | - default void noCascade(EventSource session, Object parent, EntityPersister persister, Type propertyType, int propertyIndex) {} |
88 | | - |
89 | 59 | /** |
90 | 60 | * Should this action be performed (or noCascade consulted) in the case of lazy properties. |
91 | 61 | */ |
|
0 commit comments