I have 3 entities
A,B and C
with one to one relation between A and B
many to one relation between B and C
When I access entity 'A', I am able to drill down and get the values of C
However when I have a nested condition in my HQL, I get null pointer exception
Query looks like
from(A) where A.B.C.some_parameter.eq(value)
I have added
<property name="hibernate.max_fetch_depth" value="4" />
in my configuration, but still I keep getting Null pointer exception