@Test public void setOrderBy_nullParameter_shouldSucceed() { TableQuery tQuery = new TableQuery("people", connectionPool, SQLTestsConstants.sqlGen); tQuery.setOrderBy(null); }
@Override public void setOrderBy(List<OrderBy> orderBys) throws UnsupportedOperationException { if (orderBys == null) { this.orderBys = null; return; } this.orderBys = Collections.unmodifiableList(orderBys); }
TableQuery extends AbstractTransactionalQuery implements
        QueryDelegate, QueryDelegate.RowIdChangeNotifier { @Override public void setOrderBy(List<OrderBy> orderBys) throws UnsupportedOperationException { if (orderBys == null) { this.orderBys = null; return; } this.orderBys = Collections.unmodifiableList(orderBys); } }
TableQuery extends AbstractTransactionalQuery implements
        QueryDelegate, QueryDelegate.RowIdChangeNotifier { @Override public void setOrderBy(List<OrderBy> orderBys) throws UnsupportedOperationException { if (orderBys == null) { this.orderBys = null; return; } this.orderBys = Collections.unmodifiableList(orderBys); } TableQuery(String tableName, JDBCConnectionPool connectionPool,
            SQLGenerator sqlGenerator);  TableQuery(String catalogName, String schemaName, String tableName,
            JDBCConnectionPool connectionPool, SQLGenerator sqlGenerator);  TableQuery(String tableName, JDBCConnectionPool connectionPool); protected  TableQuery(String catalogName, String schemaName,
            String tableName, JDBCConnectionPool connectionPool,
            SQLGenerator sqlGenerator, boolean escapeNames); }
TableQuery extends AbstractTransactionalQuery implements
        QueryDelegate, QueryDelegate.RowIdChangeNotifier { @Override public void setOrderBy(List<OrderBy> orderBys) throws UnsupportedOperationException { if (orderBys == null) { this.orderBys = null; return; } this.orderBys = Collections.unmodifiableList(orderBys); } TableQuery(String tableName, JDBCConnectionPool connectionPool,
            SQLGenerator sqlGenerator);  TableQuery(String catalogName, String schemaName, String tableName,
            JDBCConnectionPool connectionPool, SQLGenerator sqlGenerator);  TableQuery(String tableName, JDBCConnectionPool connectionPool); protected  TableQuery(String catalogName, String schemaName,
            String tableName, JDBCConnectionPool connectionPool,
            SQLGenerator sqlGenerator, boolean escapeNames); @Override int getCount(); @Override ResultSet getResults(int offset, int pagelength); @Override boolean implementationRespectsPagingLimits(); @Override int storeRow(RowItem row); RowId storeRowImmediately(RowItem row); @Override void setFilters(List<Filter> filters); @Override void setOrderBy(List<OrderBy> orderBys); @Override void beginTransaction(); @Override void commit(); @Override void rollback(); @Override List<String> getPrimaryKeyColumns(); String getVersionColumn(); void setVersionColumn(String column); String getTableName(); String getCatalogName(); String getSchemaName(); SQLGenerator getSqlGenerator(); @Override boolean removeRow(RowItem row); @Override boolean containsRowWithKey(Object... keys); @Override void addRowIdChangeListener(RowIdChangeListener listener); @Override void removeRowIdChangeListener(RowIdChangeListener listener); }
TableQuery extends AbstractTransactionalQuery implements
        QueryDelegate, QueryDelegate.RowIdChangeNotifier { @Override public void setOrderBy(List<OrderBy> orderBys) throws UnsupportedOperationException { if (orderBys == null) { this.orderBys = null; return; } this.orderBys = Collections.unmodifiableList(orderBys); } TableQuery(String tableName, JDBCConnectionPool connectionPool,
            SQLGenerator sqlGenerator);  TableQuery(String catalogName, String schemaName, String tableName,
            JDBCConnectionPool connectionPool, SQLGenerator sqlGenerator);  TableQuery(String tableName, JDBCConnectionPool connectionPool); protected  TableQuery(String catalogName, String schemaName,
            String tableName, JDBCConnectionPool connectionPool,
            SQLGenerator sqlGenerator, boolean escapeNames); @Override int getCount(); @Override ResultSet getResults(int offset, int pagelength); @Override boolean implementationRespectsPagingLimits(); @Override int storeRow(RowItem row); RowId storeRowImmediately(RowItem row); @Override void setFilters(List<Filter> filters); @Override void setOrderBy(List<OrderBy> orderBys); @Override void beginTransaction(); @Override void commit(); @Override void rollback(); @Override List<String> getPrimaryKeyColumns(); String getVersionColumn(); void setVersionColumn(String column); String getTableName(); String getCatalogName(); String getSchemaName(); SQLGenerator getSqlGenerator(); @Override boolean removeRow(RowItem row); @Override boolean containsRowWithKey(Object... keys); @Override void addRowIdChangeListener(RowIdChangeListener listener); @Override void removeRowIdChangeListener(RowIdChangeListener listener);  }