Hello,
I have tried to summarize my interpretation of how the treat operator should work and create a testsuite that asserts that and now I would like to hear feedback from the Hibernate community.
Could you please comment on whether the interpretation is correct? I already checked the JPA spec and it isn't very specific about details so I am pretty sure my interpretation is compatible.
The
issues list more or less summarizes the problematic tests. Before creating JIRA issues for every problem, I'd like to make sure that the Hibernate community agrees that these are real issues.
You can find the testsuite here:
https://github.com/beikov/jpa-treat-variationsThe readme contains the interpretation.