public String generateSqlSelect(String tableName) {
        try {
            return cacheSQLs.get("SELECT:" + tableName, () -> {
                return MessageFormat.format("SELECT {2} FROM {0} WHERE {1}", tableName,
                        strWherePkClause, strAllColumns);
            });
        } catch (ExecutionException e) {
            throw new DaoException(e);
        }
    }
public String generateSqlSelect ( String tableName ) { try { return cacheSQLs . get ( "SELECT:" + tableName , ( ) -> { return MessageFormat . format ( "SELECT {2} FROM {0} WHERE {1}" , tableName , strWherePkClause , strAllColumns ) ; } ) ; } catch ( ExecutionException e ) { throw new DaoException ( e ) ; } }
Generate SELECT statement to select a BO.

<p>
The generated SQL will look like this
{@code SELECT all-columns FROM table WHERE pk-1=? AND pk-2=?...}
</p>

@param tableName
@return
@since 0.8.5