System.out.println( (results2.size() == 0) );
}
public void testMany2ManyFunction(){
ArrayList pages = new ArrayList();
pages.add(new Page(2));
pages.add(new Page(5));
pages.add(new Page(7));
Book book = new Book();
book.setIsbn(234553);
book.setName("foundation");
book.setPage(pages);
boolean value = admin.save(book);
System.out.println(value);
Book b = new Book();
b.getPage().add(new Page());
value = admin.obtainWhere(b, "name='foundation'");
System.out.println(value);
System.out.println(5 == ((Page)b.getPage().get(1)).getPageNumber());
}