Thanks for your advice, but it still cannot solve the problem.

rpalache wrote:
> 
> Can you please try the following property:
> openjpa.jdbc.SubclassFetchMode: none
> 
> The following will give more details:
> 
> http://openjpa.apache.org/builds/latest/docs/manual/manual.html#openjpa.jdbc.SubclassFetchMode
> and
> http://openjpa.apache.org/builds/latest/docs/manual/manual.html#ref_guide_perfpack_eager
>  
> 
> Regards,
> Ravi.
> 
> 
> 
> 
> 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-tp3229800p3245246.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to