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 2a31805981
commit 1fbe8dd831
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;
}
}