Util.enter("QBE: Album.name='YELLOW SUBMARINE AND yeear=1970");
Query query = gtm.query(Album.class);
query.constrain("name", OP.EQUALS, FUNCTION.TO_UPPER, "YELLOW SUBMARINE");
query.constrain("year", OP.EQUALS, null, "1970");
ObjectSet<Album> albums = query.execute();
Util.snapshot();
for (Album album : albums) {
System.out.println("Album " + album.getOID() + " " + album.getName() + " " + album.getYear());
}
Util.leave(albums.size());