openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pinaki Poddar (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-939) Allow query on subclass field on superclass extent under specific hint
Date Tue, 24 Feb 2009 01:58:02 GMT
Allow query on subclass field on superclass extent under specific hint
----------------------------------------------------------------------

                 Key: OPENJPA-939
                 URL: https://issues.apache.org/jira/browse/OPENJPA-939
             Project: OpenJPA
          Issue Type: Improvement
            Reporter: Pinaki Poddar


According to user [1], OpenJPA throws parse exception if JPQL on a superclass uses subclass
field in path expressions.
And, of course, the user reminds us that 'Hibernate can do it'. 
Given that it is not a kosher thing to do always, we should allow it only user sets subclass
hints to true.

[1] http://n2.nabble.com/%22No-field-named%22-problem-when-using-subclass-field-in-where-clause-tc2374779.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message