IDEMPIERE-2140 2pack SQL statements cross client borders.

This commit is contained in:
Heng Sin Low 2014-08-21 16:40:08 +08:00
parent 97253ac9b2
commit e56fac8f87
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ public class SQLStatementElementHandler extends AbstractElementHandler {
String sql = getStringValue(element, "statement");
if (sql.endsWith(";") && !(sql.toLowerCase().endsWith("end;")))
sql = sql.substring(0, sql.length() - 1);
sql=Env.parseContext(Env.getCtx(), 0, sql, false); // tbayen IDEMPIERE-2140
Savepoint savepoint = null;
PreparedStatement pstmt = null;
X_AD_Package_Imp_Detail impDetail = null;