I use Spring Data JPA 1.8.0.RELEASE
entity Attachment has a property named relate_id,
I add a method findByRelate_id(String rid) in Repository,
but I got a exception:
Caused by: org.springframework.data.mapping.PropertyReferenceException: No property relate found for type Attachment!
I realy need my field name is relate_id, not change to relateId, And I dont hope write @Query(...) by myself.
How to slove it?