October 07, 2020

Validation failed for query for method public abstract java.util.List net.javabelazy.service.SpringQueryExample.findByAuthor(java.lang.String)!


Error :

java.lang.IllegalArgumentException: Validation failed for query for method public abstract java.util.List net.javabelazy.service.SpringQueryExample.findByAuthor(java.lang.String)!

Solution : 

@Query(value = "your sql query ", nativeQuery = true)


 

No comments:

Post a Comment

Your feedback may help others !!!

Facebook comments