From e2b388e6b9ffe982d8ed215c1d152d7ac1e1338e Mon Sep 17 00:00:00 2001 From: "Greg L. Turnquist" Date: Thu, 29 Sep 2022 12:13:52 -0500 Subject: [PATCH] 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 --- jpa/vavr/src/main/java/example/PersonRepository.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jpa/vavr/src/main/java/example/PersonRepository.java b/jpa/vavr/src/main/java/example/PersonRepository.java index 547e841d..31442a34 100644 --- a/jpa/vavr/src/main/java/example/PersonRepository.java +++ b/jpa/vavr/src/main/java/example/PersonRepository.java @@ -52,13 +52,13 @@ public interface PersonRepository extends Repository { * @param firstname * @return */ - Seq findByFirstnameContaining(@Param("firstname") String firstname); + Seq 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> findByLastnameContaining(@Param("lastname") String lastname); + Try> findByLastnameContaining(String lastname); }