HHH-14922 Test behavior when setting both implicit catalog/schema and default catalog/schema
This commit is contained in:
parent
aafacbec47
commit
8f1d1c43ce
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue