How to create method name using After and Equals in Spring Data JPA?
You can use LessThan, GreaterThan, LessThanEqual, GreaterThanEqual also with dates.
Hope it helps.
Related videos on Youtube
Abu Bakar Siddik
To pursue a highly rewarding career, Seeking an opportunity to utilize my skills in solution architecture designing, programming, implementation from scratch and diligent attitude with great enthusiasm. Focus to be a proactive contributor in sustaining the organization at my highest level through my sheer dedication.
Updated on September 15, 2022Comments
-
Abu Bakar Siddik over 1 year
I need your help to my problem. I can't create method name following this documentation. I want to query date by this method.
I want like this query :
SELECT * FROM app_basic where app_end_date>='2016-11-29';
In following Spring documentation
After
keyword work fine. But I needAfter
andEquals
in method name convention using Spring Data jpa.So, how can I create this method ? Please, help me.
Thanks.
-
ScanQR over 7 yearsShow us your entity please
-