ems, portal schema property 일치화

This commit is contained in:
Rinjae
2025-09-30 15:37:46 +09:00
parent d77ddaf3f6
commit b6edca32a9
@@ -40,11 +40,11 @@ public class OrgCodeGenerator implements ValueGenerator<String> {
// private static final long INITIAL_VALUE = 1000000000L;
String schema = System.getProperty("ems.schema", "");
String schema = System.getProperty("eai.tableowner", "");
if (schema.isEmpty()) {
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;