HHH-15270 Fix inconsistent precedence of orm.xml implicit catalog over "default_catalog" in XML-mapped entities

This commit is contained in:
Yoann Rodière 2022-05-13 10:19:59 +02:00 committed by Christian Beikov
parent 141ad167ee
commit 3aada57305
1 changed files with 1 additions and 1 deletions

View File

@ -2971,7 +2971,7 @@ public class ModelBinder {
return database.toIdentifier( tableSpecSource.getExplicitCatalogName() );
}
else {
return database.toIdentifier( metadataBuildingContext.getMappingDefaults().getImplicitCatalogName() );
return null;
}
}