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