> But it is an openJPA specific annotation.
Yes it is -- and it is natural to use OpenJPA-specific annotations when one
is using OpenJPA :)
But let me see the declaration for
Author's books field and other related ones.
-
Pinaki
--
View this message in context:
http://n2.nabble.com/Clas
Hi Pinaki,
@ElementClassCriteria resolves the issue.
But it is an openJPA specific annotation.
Hence I created JIRA-1200 for this and added a fix to it, which is already
commited into trunk.
Regards,
Ravi.
--
View this message in context:
http://n2.nabble.com/ClasscastException-when-ClassCriet
Hi Ravi,
I have not seen the domain model (though it sounds familiar ;) but from
your description, it appears that @ElementClassCriteria is appropriate in
this case.
-
Pinaki
--
View this message in context:
http://n2.nabble.com/ClasscastException-when-ClassCrietria-is-not-used-tp329056
Hi All,
Can some one please help me with the question in this thread.
Do you think this JIRA is valid ? (or) should I just live with the openJPA
annotation ?
Thanks,
Ravi.
Ravi P Palacherla wrote:
>
> Hi,
>
> Created a JIRA for this:
> https://issues.apache.org/jira/browse/OPENJPA-1200
>
>
Hi,
Created a JIRA for this:
https://issues.apache.org/jira/browse/OPENJPA-1200
Regards,
Ravi.
Ravi P Palacherla wrote:
>
> Hi Mike,
>
> Please download the testcase from :
> http://n2.nabble.com/file/n3306514/openJPATestCase.zip openJPATestCase.zip
>
> The following changes are needed :
Hi Mike,
Please download the testcase from :
http://n2.nabble.com/file/n3306514/openJPATestCase.zip openJPATestCase.zip
The following changes are needed :
build.xml ( point to proper "basedir" and "" )
persistence.xml ( jdbc configurations.)
Regards,
Ravi.
Michael Dick wrote:
>
> Hi Ravi,
Hi Ravi,
Could you upload the testcase you mentioned? This sounds like an interesting
issue, not sure I have the full picture at the moment, but it might warrant
a JIRA for further investigation.
-mike
On Wed, Jul 22, 2009 at 4:43 PM, rpalache wrote:
>
> Hi ,
>
> Here is the cause of the issue:
Hi ,
Here is the cause of the issue:
getSelectSubclasses() of ValueMappingImpl.java is checking for criteria.
"return (_criteria) ? Select.SUBS_JOINABLE
: Select.SUBS_ANY_JOINABLE;"
If criteria is selected then "Select.SUBS_JOINABLE" is returned which will
generate a select