diff --git a/org.adempiere.base/src/org/compiere/model/GridTable.java b/org.adempiere.base/src/org/compiere/model/GridTable.java index 5c7de4c65d..83a0c95df4 100644 --- a/org.adempiere.base/src/org/compiere/model/GridTable.java +++ b/org.adempiere.base/src/org/compiere/model/GridTable.java @@ -2254,7 +2254,7 @@ public class GridTable extends AbstractTableModel ResultSet rs = null; try { - pstmt = DB.prepareStatement(refreshSQL.toString(), null); + pstmt = DB.prepareStatement(refreshSQL.toString(), get_TrxName()); rs = pstmt.executeQuery(); if (rs.next()) {