throws EntityFinderException
{
QueryBuilder<Person> qb = this.module.newQueryBuilder( Person.class );
// should return all Persons born after 1973 (Ann and Joe Doe) sorted descending by name
Person person = templateFor( Person.class );
Query<Person> query = unitOfWork.newQuery( qb.where( gt( person.yearOfBirth(), 1973 ) ) );
query.orderBy( orderBy( person.name(), OrderBy.Order.DESCENDING ) );
System.out.println( "*** script20: " + query );
verifyOrderedResults( query, "Joe Doe", "Ann Doe" );
}