instanceof « HQL « JPA Q&A





1. HQL - instanceof operator    forum.hibernate.org

I went looking for this myself and had a guess at the syntax - for anyone else looking this worked for me as an example: superclass.class in(SubClass) So for a very basic example: from Wheel wheel left outer join wheel.car where car.class in(Subaru) this would find all wheels for Subarus. This is taken from a much more complicated query that i've ...

2. HQL instanceof    forum.hibernate.org

3. instanceof in HQL ?    forum.hibernate.org