Files
spring-data-demo/data-jpa-3-to-4/output/02-derived-queries-boot3.txt
T

16 lines
927 B
Plaintext

# Spring Boot 3.5.16
findByPriceAmountGreaterThan(8, title asc):
Cosmos
Dune
Ficciones
Germinal
SQL: select b1_0.id,b1_0.isbn,b1_0.amount,b1_0.currency,b1_0.published_on,b1_0.subtitle,b1_0.title from book b1_0 where b1_0.amount>? order by b1_0.title
Query strings Hibernate statistics recorded for that call:
[CRITERIA] select b1_0.id,b1_0.isbn,b1_0.amount,b1_0.currency,b1_0.published_on,b1_0.subtitle,b1_0.title from book b1_0 where b1_0.amount>? order by b1_0.title
the same derived query with subtitle asc NULLS LAST -> throws java.lang.UnsupportedOperationException
Applying Null Precedence using Criteria Queries is not yet supported.
findByIsbn(missing) -> Optional.empty
findByTitleStartingWith("") with 5 rows -> throws org.springframework.dao.IncorrectResultSizeDataAccessException
Query did not return a unique result: 5 results were returned
@Query using || and left() -> Dune (978)