HHH-14922 Test behavior when setting both implicit catalog/schema and default catalog/schema

This commit is contained in:
Yoann Rodière 2021-11-09 18:02:28 +01:00
parent aafacbec47
commit 8f1d1c43ce
1 changed files with 6 additions and 6 deletions

View File

@ -80,7 +80,7 @@ import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
@RunWith(CustomParameterized.class)
@TestForIssue(jiraKey = "HHH-14921")
@TestForIssue(jiraKey = { "HHH-14921", "HHH-14922" })
public class DefaultCatalogAndSchemaTest {
private static final String SQL_QUOTE_CHARACTER_CLASS = "([`\"]|\\[|\\])";
@ -127,11 +127,11 @@ public class DefaultCatalogAndSchemaTest {
null, null,
"someImplicitCatalog", "someImplicitSchema" } );
// HHH-14922: Inconsistent precedence of orm.xml implicit catalog/schema over "default_catalog"/"default_schema"
// params.add( new Object[] { mode, "implicit-global-catalog-and-schema.orm.xml",
// "someDefaultCatalog", "someDefaultSchema",
// // The implicit catalog/schema defined in the mapping should take precedence
// // over the default catalog/schema defined in settings.
// "someImplicitCatalog", "someImplicitSchema" } );
params.add( new Object[] { mode, "implicit-global-catalog-and-schema.orm.xml",
"someDefaultCatalog", "someDefaultSchema",
// The implicit catalog/schema defined in the mapping should take precedence
// over the default catalog/schema defined in settings.
"someImplicitCatalog", "someImplicitSchema" } );
}
return params;
}