Files
spring-data-demo/data-jpa-3-to-4/output/07-nullness-boot3.txt
T

13 lines
686 B
Plaintext

# Spring Boot 3.5.16
-- package marked @org.springframework.lang.NonNullApi
Book findByIsbn(missing) -> throws org.springframework.dao.EmptyResultDataAccessException
Result must not be null
Book findByIsbn(null) -> throws java.lang.IllegalArgumentException
Parameter isbn in LegacyNullRepository.findByIsbn must not be null
-- package marked @org.jspecify.annotations.NullMarked
Book findByIsbn(missing) -> null
Book findByIsbn(null) -> null
@Nullable Book findFirstByTitle(missing) -> null
findBySubtitle(@Nullable null).size -> 2
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.subtitle is null