}
public void updateRecord() {
try {
GenericController controller = GenericController.getInstance();
// Map columnMap = nz.co.transparent.client.controller.findWhere("title", "title_code='A'");
// columnMap.put("title", "Title changed 111");
// nz.co.transparent.client.controller.updateRecord("title", "title_id", columnMap);
Map columnMap = controller.findWhere("client", "client_id=5");
//columnMap.put("client_id", new String("5")); // wil not work, must be Integer
columnMap.put("first_name", "first_name 5");
controller.updateRecord("client", "client_id", columnMap);
} catch (FinderException ce) {
System.out.println("FinderException: " + ce.getMessage());
return;
} catch (UpdaterException ce) {
System.out.println("UpdaterException: " + ce.getMessage());