HHH-17056 Deprecate SimpleValue#getConstraintColumnIterator()

This commit is contained in:
Sanne Grinovero 2023-08-09 11:40:40 +02:00 committed by Sanne Grinovero
parent b602c9bddf
commit 524e36ed87
2 changed files with 8 additions and 0 deletions

View File

@ -117,6 +117,10 @@ public class OneToOne extends ToOne {
return columns;
}
/**
* @deprecated Use {@link #getSelectables()} instead
*/
@Deprecated(forRemoval = true, since = "6.3")
@Override
public Iterator<Selectable> getConstraintColumnIterator() {
return identifier.getSelectables().iterator();

View File

@ -282,6 +282,10 @@ public abstract class SimpleValue implements KeyValue {
return (List) columns;
}
/**
* @deprecated Use {@link #getSelectables()} instead
*/
@Deprecated(forRemoval = true, since = "6.3")
public Iterator<Selectable> getConstraintColumnIterator() {
return getSelectables().iterator();
}