return;
}
cleanBookstore();
insertTestData();
Criteria criteria = new Criteria();
criteria.addAlias("b", BookPeer.TABLE_NAME);
criteria.addJoin(
BookPeer.AUTHOR_ID, AuthorPeer.AUTHOR_ID,
Criteria.RIGHT_JOIN);
criteria.addJoin(
AuthorPeer.AUTHOR_ID,
new ColumnImpl("b." + BookPeer.AUTHOR_ID.getColumnName()),
Criteria.LEFT_JOIN);
List<Author> authorList = AuthorPeer.doSelect(criteria);
// Here we get 11 authors: