protected String getWhereIdSql(int id) {
return "where id = " + id;
}
protected void update(Origin<?> origin) throws UnableToSaveException {
JdbcTranslatorFields translator = new JdbcTranslatorFields(origin.getMapOfFields());
String updateString = "update " + getTableName() + " " + translator.getUpdateStatement() + " " + getWhereIdSql(origin.getId());
try {
Connection connection = connectionManager.getConnection();
Statement statement = connection.createStatement();