HHH-13874 - Deprecating methods that will be removed soon

Two methods that are dropped in v6.0 are now marked as deprecated in this commit.

As discussed in the removal PR https://github.com/hibernate/hibernate-orm/pull/3229
This commit is contained in:
The Geeky Asian 2020-02-20 21:04:28 +04:00 committed by Steve Ebersole
parent e9df1cb626
commit c4bd5937e3
2 changed files with 2 additions and 0 deletions

View File

@ -156,6 +156,7 @@ public abstract class Constraint implements RelationalModel, Exportable, Seriali
return columns.iterator();
}
@Deprecated
public Iterator<Column> columnIterator() {
return columns.iterator();
}

View File

@ -236,6 +236,7 @@ public abstract class BaseCoreFunctionalTestCase extends BaseUnitTestCase {
return NO_MAPPINGS;
}
@Deprecated
protected String[] getXmlFiles() {
// todo : rename to getOrmXmlFiles()
return NO_MAPPINGS;