Great, it works! Thanks a lot.
Pinaki Poddar wrote:
>
> try:
> javax.persistence.Query q = em.createQuery(aJPQLString);
> q.setHint("openjpa.Subclasses", "false");
>
>
>
> Jeff Yin wrote:
>>
>> if i use a jpql query select a from A a
>> all the instances of the subclasses of A will be returned, how can i
>> disable this behavior? thanks.
>>
>
>
--
View this message in context:
http://n2.nabble.com/How-to-disable-jpql-Polymorphic-Queries-tp3229800p3254374.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.