java - findBy with custom filter in PagingAndSortingRepository -


i have interface extending pagingandsortingrepository

i have custom find :

findjobbynamebysystemidusercompanyid(companyid, pageable) 

this works fine, want introduce filtering, want search (like) string in list.

how can achieve that? search term on field ?

please have here: http://docs.spring.io/spring-data/jpa/docs/current/reference/html/#jpa.query-methods.query-creation

example: findbyfirstnamelike(...), findbyfirstnamenotlike(...)


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -