Here you can find the source of getUpdateAccountsQuery(BigDecimal[] result, int id)
public static final String getUpdateAccountsQuery(BigDecimal[] result, int id)
//package com.java2s; import java.math.BigDecimal; public class Main { public static final String getUpdateAccountsQuery(BigDecimal[] result, int id) { return "UPDATE ACCOUNTS SET SUMB = " + result[0] + "," + "SUMD = " + result[1] + "," + "SUMT = " + result[2] + " " + "WHERE Aid = " + id; }// w w w.ja v a2 s . c o m }