public static final String module = EntityDataLoader.class.getName();
public static String getPathsString(String helperName) {
StringBuilder pathBuffer = new StringBuilder();
if (UtilValidate.isNotEmpty(helperName)) {
DatasourceInfo datasourceInfo = EntityConfigUtil.getDatasourceInfo(helperName);
for (Element sqlLoadPathElement: datasourceInfo.sqlLoadPaths) {
String prependEnv = sqlLoadPathElement.getAttribute("prepend-env");
pathBuffer.append(pathBuffer.length() == 0 ? "" : ";");
if (UtilValidate.isNotEmpty(prependEnv)) {
pathBuffer.append(System.getProperty(prependEnv));