Spring supports
Spring Boot AutoConfigure
Spring Data Repository
interface BookRepository : JpaRepository<Book, Isbn>, KotlinJdslJpqlExecutor
val result: List<Isbn?> = bookRepository.findAll {
select(
path(Book::isbn),
).from(
entity(Book::class),
)
}
val result: Page<Isbn?> = bookRepository.findPage(pageable) {
select(
path(Book::isbn),
).from(
entity(Book::class),
)
}
val result: Slice<Isbn?> = bookRepository.findSlice(pageable) {
select(
path(Book::isbn),
).from(
entity(Book::class),
)
}
val result: Stream<Isbn?> = bookRepository.findStream {
select(
path(Book::isbn),
).from(
entity(Book::class),
)
}Spring Batch
Last updated