FR: [ 2214883 ] Remove SQL code and Replace for Query

Please keep transaction.
old code used transaction, so new should also use transaction.
http://sourceforge.net/support/tracker.php?aid=2214883
This commit is contained in:
trifonnt 2010-02-25 19:27:08 +00:00
parent 011ec4a4d6
commit fea9618e40
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ public final class MPayment extends X_C_Payment
{
//FR: [ 2214883 ] Remove SQL code and Replace for Query - red1
String whereClause = "C_BPartner_ID=?";
List <MPayment> list = new Query(ctx, MPayment.Table_Name, whereClause, null)
List <MPayment> list = new Query(ctx, MPayment.Table_Name, whereClause, trxName)
.setParameters(new Object[]{C_BPartner_ID})
.list();