diff --git a/base/src/org/compiere/db/PreparedStatementProxy.java b/base/src/org/compiere/db/PreparedStatementProxy.java index fd68950896..b744aa912c 100644 --- a/base/src/org/compiere/db/PreparedStatementProxy.java +++ b/base/src/org/compiere/db/PreparedStatementProxy.java @@ -56,7 +56,7 @@ public class PreparedStatementProxy extends StatementProxy { try { Connection conn = null; Trx trx = p_vo.getTrxName() == null ? null : Trx.get(p_vo - .getTrxName(), true); + .getTrxName(), false); if (trx != null) { conn = trx.getConnection(); } else { diff --git a/base/src/org/compiere/db/StatementProxy.java b/base/src/org/compiere/db/StatementProxy.java index e2ff4c3902..936babe1b5 100644 --- a/base/src/org/compiere/db/StatementProxy.java +++ b/base/src/org/compiere/db/StatementProxy.java @@ -113,7 +113,7 @@ public class StatementProxy implements InvocationHandler { try { Connection conn = null; - Trx trx = p_vo.getTrxName() == null ? null : Trx.get(p_vo.getTrxName(), true); + Trx trx = p_vo.getTrxName() == null ? null : Trx.get(p_vo.getTrxName(), false); if (trx != null) { conn = trx.getConnection();