Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.7.2.RELEASE
-
Fix Version/s: 3.7.3.RELEASE
-
Component/s: DATA
-
Labels:
-
Environment: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); }