This is my entity (JobEntity): https://pastebin.com/3EdtPBSZ
Before you tell me that I have to make my repository #findByIdAndRetailerId method return type "JobEntity", I have tried that and the projection does not get applied, as I am able to access the entity's fields that are not defined in the projection. I am following Baeldung's tutorial combined with some other sources on the net.
Stack Trace Message
Full stack trace: https://pastebin.com/MjBNTT7Y