Variables with underscore create error saying "Description Resource Path Location Type Invalid derived query! No property _db found for type String! Traversed path: Trnsction.ddate. ..."
I have "spring-data-commons » 1.11.2.RELEASE" and in this version, the problem seems to be solved (https://jira.spring.io/browse/DATACMNS-569) but in my repository class, when I add a method like below, still it doesn't compile although I escape underscore.
List<Trnsction> findByDdate__db(Date ddate__db);
The name of my variable is ddate_db and its type is Date.
This "problem" is not fixed and probably won't be fixed.
As said in JIRA ticket:
Also in documentation:
So you should not use underscore in your variable names.