Add jakarta-data module: Jakarta Data repositories on Hibernate 7.4 / 8.0 CR2 vs Spring Data JPA 4.2
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4XrpfdpsacrvqnrBM
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
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=?
|
||||
Reference in New Issue
Block a user