In web-mvc I can declare a method where the parameter name is automatically picked up:
When I try to create a custom method with arguments in a spring-data-jpa repository interface it doesn't work with the following message:
IllegalArgumentException: Name for parameter binding must not be null or empty! For named parameters you need to use @Param for query method parameters on Java versions < 8.
It would be convenient If this also worked without having to specify @Param("name").
I'm using Kotlin 1.1 on JDK8 with no special compilation options.