ems, portal schema property 일치화
This commit is contained in:
@@ -40,11 +40,11 @@ public class OrgCodeGenerator implements ValueGenerator<String> {
|
|||||||
// private static final long INITIAL_VALUE = 1000000000L;
|
// private static final long INITIAL_VALUE = 1000000000L;
|
||||||
|
|
||||||
|
|
||||||
String schema = System.getProperty("ems.schema", "");
|
String schema = System.getProperty("eai.tableowner", "");
|
||||||
|
|
||||||
if (schema.isEmpty()) {
|
if (schema.isEmpty()) {
|
||||||
log.error("ems.schema is empty.");
|
log.error("ems.schema is empty.");
|
||||||
throw new IllegalStateException("System property 'ems.schema' is not set. Please configure 'ems.datasource.schema'.");
|
throw new IllegalStateException("System property 'eai.tableowner' is not set. Please configure 'eai.tableowner' or 'ems.datasource.schema'(developer portal).");
|
||||||
}
|
}
|
||||||
|
|
||||||
String TABLE_NAME_WITH_SCHEMA = System.getProperty("ems.schema", "") + "." + TABLE_NAME;
|
String TABLE_NAME_WITH_SCHEMA = System.getProperty("ems.schema", "") + "." + TABLE_NAME;
|
||||||
|
|||||||
Reference in New Issue
Block a user