@SuppressWarnings( "deprecation" )
@FixFor( "MODE-934" )
@Test
public void shouldNotIncludePseudoColumnsInSelectStarOfJcrSqlQuery() throws RepositoryException {

    String sql = "select * FROM nt:base";
    Query query = session.getWorkspace().getQueryManager().createQuery(sql, Query.SQL);
    QueryResult result = query.execute();
    validateQuery().rowCount(totalNodeCount).hasColumns(allColumnNames()).validate(query, result);
}