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,9 @@
|
||||
findByIsbn("333") -> Book[333 'Java Concurrency in Practice' Brian Goetz 2006 52.00]
|
||||
findByAuthorOrderByPublishedYear(Bloch) -> [Effective Java/2001, Java Puzzlers/2005]
|
||||
findByAuthorAndPublishedYear(Bloch,2005) -> [Java Puzzlers]
|
||||
findTop2ByPublishedYearGreaterThanEqualOrderByPriceDesc(2000) -> [Core Java 60.00, Java Concurrency in Practice 52.00]
|
||||
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.isbn=?
|
||||
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.published_year
|
||||
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=? and b1_0.published_year=?
|
||||
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.published_year>=? order by b1_0.price desc fetch first ? rows only
|
||||
Reference in New Issue
Block a user