@ Override protected String buildOrderSql ( String sql , final String column , final boolean ascending ) { sql += " order by " + column ; if ( ! ascending ) { sql += " desc" ; } return sql ; }
Appends ORDER BY keyword .