I would like to write a like query in JpaRepository but it is not returning anything :
JpaRepository
LIKE \'%place%\'-its not working.
LIKE \'%place%\'
LIKE
You can have one alternative of using placeholders as:
@Query("Select c from Registration c where c.place LIKE %?1%") List findPlaceContainingKeywordAnywhere(String place);