public String generateSqlUpdate ( String tableName ) { try { return cacheSQLs . get ( "UPDATE:" + tableName , ( ) -> { return MessageFormat . format ( "UPDATE {0} SET {2} WHERE {1}" , tableName , strWherePkClause , strUpdateSetClause ) ; } ) ; } catch ( ExecutionException e ) { throw new RuntimeException ( e ) ; } }
Generate UPDATE statement to update an existing BO .