List<BintBcharType> selectedList
= BintBcharTypePeer.doSelect(criteria);
assertTrue("Should have read 1 dataset complex Criteria "
+ "but read " + selectedList.size(),
selectedList.size() == 1);
BintBcharType selected = selectedList.get(0);
// use trim() for testkey because some databases will return the
// testkey filled up with blanks, as it is defined as char(10)
assertTrue("Primary key of data set should be f1 but is "
+ selected.getId(),
"f1".equals(selected.getId()));
}