@Test public void getInsertQueryTest() { final String expectedQuery = "INSERT INTO egasset_current_value (id,assetid,tenantid,assettrantype,currentamount,createdby," + "createdtime,lastModifiedby,lastModifiedtime) VALUES (?,?,?,?,?,?,?,?,?)"; assertEquals(expectedQuery, currentValueQueryBuilder.getInsertQuery()); }
public String getInsertQuery() { return "INSERT INTO egasset_current_value (id,assetid,tenantid,assettrantype,currentamount,createdby," + "createdtime,lastModifiedby,lastModifiedtime) VALUES (?,?,?,?,?,?,?,?,?)"; }
CurrentValueQueryBuilder { public String getInsertQuery() { return "INSERT INTO egasset_current_value (id,assetid,tenantid,assettrantype,currentamount,createdby," + "createdtime,lastModifiedby,lastModifiedtime) VALUES (?,?,?,?,?,?,?,?,?)"; } }
CurrentValueQueryBuilder { public String getInsertQuery() { return "INSERT INTO egasset_current_value (id,assetid,tenantid,assettrantype,currentamount,createdby," + "createdtime,lastModifiedby,lastModifiedtime) VALUES (?,?,?,?,?,?,?,?,?)"; }  }
CurrentValueQueryBuilder { public String getInsertQuery() { return "INSERT INTO egasset_current_value (id,assetid,tenantid,assettrantype,currentamount,createdby," + "createdtime,lastModifiedby,lastModifiedtime) VALUES (?,?,?,?,?,?,?,?,?)"; }  String getInsertQuery(); String getCurrentValueQuery(final Set<Long> assetIds, final String tenantId); String getUpdateQuery(); }
CurrentValueQueryBuilder { public String getInsertQuery() { return "INSERT INTO egasset_current_value (id,assetid,tenantid,assettrantype,currentamount,createdby," + "createdtime,lastModifiedby,lastModifiedtime) VALUES (?,?,?,?,?,?,?,?,?)"; }  String getInsertQuery(); String getCurrentValueQuery(final Set<Long> assetIds, final String tenantId); String getUpdateQuery();  }