thank you for your quick response. this works perfectly in my project but now i have another issue in my project i have a some object variables, when i want to perform a query it gives me the error that type is wrong.
e.g
private object environment;
private object extension;
unders these object i also some nested object, should i have to perform this query in native language or i can also use JPQL?