IDEMPIERE-2140 2pack SQL statements cross client borders.
This commit is contained in:
parent
97253ac9b2
commit
e56fac8f87
|
@ -47,6 +47,7 @@ public class SQLStatementElementHandler extends AbstractElementHandler {
|
||||||
String sql = getStringValue(element, "statement");
|
String sql = getStringValue(element, "statement");
|
||||||
if (sql.endsWith(";") && !(sql.toLowerCase().endsWith("end;")))
|
if (sql.endsWith(";") && !(sql.toLowerCase().endsWith("end;")))
|
||||||
sql = sql.substring(0, sql.length() - 1);
|
sql = sql.substring(0, sql.length() - 1);
|
||||||
|
sql=Env.parseContext(Env.getCtx(), 0, sql, false); // tbayen IDEMPIERE-2140
|
||||||
Savepoint savepoint = null;
|
Savepoint savepoint = null;
|
||||||
PreparedStatement pstmt = null;
|
PreparedStatement pstmt = null;
|
||||||
X_AD_Package_Imp_Detail impDetail = null;
|
X_AD_Package_Imp_Detail impDetail = null;
|
||||||
|
|
Loading…
Reference in New Issue