HHH-17061 Remove PersistentClass#getKeyClosureIterator
This commit is contained in:
parent
d9e70896cd
commit
c4b0a71722
|
@ -358,9 +358,6 @@ public abstract class PersistentClass implements IdentifiableTypeClass, Attribut
|
||||||
|
|
||||||
public abstract List<KeyValue> getKeyClosure();
|
public abstract List<KeyValue> getKeyClosure();
|
||||||
|
|
||||||
@Deprecated(since = "6.0") @Remove
|
|
||||||
public abstract Iterator<KeyValue> getKeyClosureIterator();
|
|
||||||
|
|
||||||
protected void addSubclassProperty(Property prop) {
|
protected void addSubclassProperty(Property prop) {
|
||||||
subclassProperties.add( prop );
|
subclassProperties.add( prop );
|
||||||
}
|
}
|
||||||
|
|
|
@ -141,11 +141,6 @@ public class RootClass extends PersistentClass implements TableOwner {
|
||||||
return List.of( getTable() );
|
return List.of( getTable() );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override @Deprecated
|
|
||||||
public Iterator<KeyValue> getKeyClosureIterator() {
|
|
||||||
return new SingletonIterator<>( getKey() );
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<KeyValue> getKeyClosure() {
|
public List<KeyValue> getKeyClosure() {
|
||||||
return List.of( getKey() );
|
return List.of( getKey() );
|
||||||
|
|
|
@ -16,7 +16,6 @@ import org.hibernate.engine.OptimisticLockStyle;
|
||||||
import org.hibernate.internal.FilterConfiguration;
|
import org.hibernate.internal.FilterConfiguration;
|
||||||
import org.hibernate.internal.util.collections.JoinedIterator;
|
import org.hibernate.internal.util.collections.JoinedIterator;
|
||||||
import org.hibernate.internal.util.collections.JoinedList;
|
import org.hibernate.internal.util.collections.JoinedList;
|
||||||
import org.hibernate.internal.util.collections.SingletonIterator;
|
|
||||||
import org.hibernate.persister.entity.EntityPersister;
|
import org.hibernate.persister.entity.EntityPersister;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -138,14 +137,6 @@ public class Subclass extends PersistentClass {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override @Deprecated
|
|
||||||
public Iterator<KeyValue> getKeyClosureIterator() {
|
|
||||||
return new JoinedIterator<>(
|
|
||||||
getSuperclass().getKeyClosureIterator(),
|
|
||||||
new SingletonIterator<>( getKey() )
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<KeyValue> getKeyClosure() {
|
public List<KeyValue> getKeyClosure() {
|
||||||
return new JoinedList<>(
|
return new JoinedList<>(
|
||||||
|
|
Loading…
Reference in New Issue