Peer review for 11830 - changed the whereClause not equivalent (the fix duplicated the bind variable)

FR: [ 2214883 ] Remove SQL code and Replace for Query
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2214883
This commit is contained in:
Carlos Ruiz 2010-03-30 05:01:16 +00:00
parent d2fc48c00e
commit 0a44f15fc6
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ public class MDistribution extends X_GL_Distribution
return retValue;
final String whereClause = "Account_ID=?";
List<MDistribution> list = new Query(ctx,I_GL_Distribution.Table_Name,whereClause+"=?",null)
List<MDistribution> list = new Query(ctx,I_GL_Distribution.Table_Name,whereClause,null)
.setParameters(Account_ID)
.list();
//