mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 00:24:57 +00:00
HHH-17772 add additional permutation to test
This commit is contained in:
parent
3539551305
commit
df79c4491a
@ -26,6 +26,9 @@ public interface BookAuthorRepository {
|
||||
@Find
|
||||
Book book(String isbn);
|
||||
|
||||
@Find
|
||||
Author author(String ssn);
|
||||
|
||||
@Find
|
||||
Book byTitleAndDate(String title, LocalDate publicationDate);
|
||||
|
||||
@ -56,6 +59,9 @@ public interface BookAuthorRepository {
|
||||
@Save
|
||||
void createOrUpdate(Book book);
|
||||
|
||||
@Query("from Book where title = :title")
|
||||
Book bookWithTitle(String title);
|
||||
|
||||
@Query("from Book where title like :title")
|
||||
List<Book> books0(String title);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user