public String generateSqlDelete ( String tableName ) { try { return cacheSQLs . get ( "DELETE:" + tableName , ( ) -> { return MessageFormat . format ( "DELETE FROM {0} WHERE {1}" , tableName , strWherePkClause ) ; } ) ; } catch ( ExecutionException e ) { throw new DaoException ( e ) ; } }
Generate DELETE statement to delete an existing BO .