|
Actually this is technically not allowed by the spec, at least as far as the attached test cases is concerned. The JPA spec only allows TREAT in the WHERE and the FROM clauses. The attached test tries to use TREAT it in the SELECT. Hibernate does have some support for TREAT in the SELECT, so I'll look into this.
|