Oh I had no idea this part would be generated by Spring and not Hibernate, or that Spring Data defined queries themselves at all. It’s still an odd change to make in a patch release from 3.1.0 to 3.1.1 though, it definitely worked before. And I would consider it a bug Spring Data generates a regular JOIN because that actually restricts the data, it can’t know if that was the intention or not. That was the entire reason we added the LEFT JOIN manually in the first place. But I can take it up with them then. |