Files

12 lines
991 B
Plaintext

cheaperThan(46.00) -> [Java in a Nutshell 30.00, Java Puzzlers 39.50, Effective Java 45.00]
findByAuthorOrderByPublishedYearAsc -> [TitleAndYear[title=Effective Java, publishedYear=2001], TitleAndYear[title=Java Puzzlers, publishedYear=2005]]
findByAuthorOrderByTitle(TitleOnly) -> [Effective Java, Java Puzzlers]
findByAuthorOrderByTitle(Book) -> [Effective Java, Java Puzzlers]
countByAuthor(Bloch) -> 2
SQL Hibernate prepared:
sql> select b1_0.id,b1_0.author,b1_0.isbn,b1_0.price,b1_0.published_year,b1_0.title from book b1_0 where b1_0.price<? order by b1_0.price
sql> select b1_0.title,b1_0.published_year from book b1_0 where b1_0.author=? order by b1_0.published_year
sql> select b1_0.title from book b1_0 where b1_0.author=? order by b1_0.title
sql> select b1_0.id,b1_0.author,b1_0.isbn,b1_0.price,b1_0.published_year,b1_0.title from book b1_0 where b1_0.author=? order by b1_0.title
sql> select count(b1_0.id) from book b1_0 where b1_0.author=?