diff --git a/hibernate-core/src/main/java/org/hibernate/mapping/PersistentClass.java b/hibernate-core/src/main/java/org/hibernate/mapping/PersistentClass.java index cecbac45cc..86c65809af 100644 --- a/hibernate-core/src/main/java/org/hibernate/mapping/PersistentClass.java +++ b/hibernate-core/src/main/java/org/hibernate/mapping/PersistentClass.java @@ -269,16 +269,6 @@ public abstract class PersistentClass implements IdentifiableTypeClass, Attribut return new JoinedList<>( lists ); } - @Deprecated(since = "6.0") @Remove - public Iterator getSubclassClosureIterator() { - final ArrayList> iterators = new ArrayList<>(); - iterators.add( new SingletonIterator<>( this ) ); - for ( Subclass subclass : getSubclasses() ) { - iterators.add( subclass.getSubclassClosureIterator() ); - } - return new JoinedIterator<>( iterators ); - } - public Table getIdentityTable() { return getRootTable(); }