BookPeer.addSelectColumns(criteria);
AuthorPeer.addSelectColumns(criteria);
// basically a BaseBookPeer.setDbName(criteria);
// and BasePeer.doSelect(criteria);
List villageRecords = BookPeer.doSelectVillageRecords(criteria);
Record record = (Record) villageRecords.get(0);
book = new Book();
BookPeer.populateObject(record, 1, book);
author = new Author();
AuthorPeer.populateObject(record, BookPeer.numColumns + 1, author);