Skip to content

Commit e2b388e

Browse files
committed
Hibernate 5.6.9.Final resolves this issue, removing the need for the workaround. Related: spring-projects/spring-data-jpa#2519, spring-projects/spring-data-jpa#2583
1 parent 3c7e6e1 commit e2b388e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jpa/vavr/src/main/java/example/PersonRepository.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ public interface PersonRepository extends Repository<Person, Long> {
5252
* @param firstname
5353
* @return
5454
*/
55-
Seq<Person> findByFirstnameContaining(@Param("firstname") String firstname);
55+
Seq<Person> findByFirstnameContaining(String firstname);
5656

5757
/**
5858
* Returning a {@link Try} is supported out of the box with all exceptions being handled by {@link Try} immediately.
59-
*
59+
*
6060
* @param lastname
6161
* @return
6262
*/
63-
Try<Option<Person>> findByLastnameContaining(@Param("lastname") String lastname);
63+
Try<Option<Person>> findByLastnameContaining(String lastname);
6464
}

0 commit comments

Comments
 (0)