}
@Test
public void testFetchInto() throws Exception {
Connection connection = DriverManager.getConnection("jdbc:postgresql:postgres", "postgres", "test");
PublicFactory create = new PublicFactory(connection);
List<TBookRecord> books =
create.select(TBook.ID, TBook.TITLE)
.from(TBook.T_BOOK)
.orderBy(TBook.ID)
.fetchInto(TBookRecord.class);
for (int i = 0; i < Data.BOOK_IDS.size(); i++) {