Some attributes names like `left`, `right` and so on could break down JPQL

Hello,

Entity attributes having names from JPQL keywords work well untill they are used in where clause or somewhere else. Sometimes this can be rather confusing, especially when working with complicated queries, so it might be worth discouraging developers from using these names by showing a sort of warning once inappropriate name is used.

Regards,
Ilia.

P.S. Error messages can’t seem to be very clear in such cases.
image

I belive it can be linked to this fix from 6.8.4 version

1 Like

Hello, Ivan,
Yes, this is the same case.