Remove workaround for https://hibernate.atlassian.net/browse/HHH-15142.
Hibernate 5.6.9.Final resolves this issue, removing the need for the workaround. Related: https://github.com/spring-projects/spring-data-jpa/issues/2519, https://github.com/spring-projects/spring-data-jpa/issues/2583
This commit is contained in:
@@ -52,13 +52,13 @@ public interface PersonRepository extends Repository<Person, Long> {
|
||||
* @param firstname
|
||||
* @return
|
||||
*/
|
||||
Seq<Person> findByFirstnameContaining(@Param("firstname") String firstname);
|
||||
Seq<Person> findByFirstnameContaining(String firstname);
|
||||
|
||||
/**
|
||||
* Returning a {@link Try} is supported out of the box with all exceptions being handled by {@link Try} immediately.
|
||||
*
|
||||
*
|
||||
* @param lastname
|
||||
* @return
|
||||
*/
|
||||
Try<Option<Person>> findByLastnameContaining(@Param("lastname") String lastname);
|
||||
Try<Option<Person>> findByLastnameContaining(String lastname);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user