{
// test double functions in select columns
Criteria criteria = new Criteria();
criteria.addSelectColumn(
new ColumnImpl("count(distinct(" + BookPeer.BOOK_ID + "))"));
BasePeer.doSelect(criteria, new IntegerMapper());
// test qualifiers in function in select columns
criteria = new Criteria();
criteria.addSelectColumn(
new ColumnImpl("count(distinct " + BookPeer.BOOK_ID + ")"));
BasePeer.doSelect(criteria, new IntegerMapper());
}