Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.7.2.RELEASE
-
Ubuntu desktop 15.10 x86_64
Description
If you add a method to a Spring Data repository which is annotated with @Procedure, and the method starts with a recognized prefix (find, get, count, ..) but it is not a fully correct query method name, the STS shows the error "Invalid derived query! No property ...!
Example:
PetRepository.java
public interface PetRepository extends JpaRepository<Pet, Long> { @Procedure("PRC_PLUS1INOUT") Integer getValuePlus1(@Param("arg") Integer arg); }