openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi P Palacherla (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENJPA-1200) Incorrect Entity is returned if ElementClassCriteria is not selected.
Date Tue, 04 May 2010 16:04:55 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ravi P Palacherla updated OPENJPA-1200:
---------------------------------------

    Comment: was deleted

(was: Hi Pinaki,

http://openjpa.208410.n2.nabble.com/ClasscastException-when-ClassCrietria-is-not-used-td3290568.html#a3290568

Yes the usecase works if ElementClassCriteria is used.
ElementClassCriteria is openJPA specific annotation and what if a user do not want to use
any openJPA specific annotations? One of the reason being easily portable to some other JPA
vendor in the future.
In that case I would expect Artist.getItems() to just return Items and not books.

Regards,
Ravi.

)

> Incorrect Entity is returned if ElementClassCriteria is not selected.
> ---------------------------------------------------------------------
>
>                 Key: OPENJPA-1200
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1200
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M2
>            Reporter: Ravi P Palacherla
>            Assignee: Ravi P Palacherla
>             Fix For: 1.1.1, 2.0.0-M3
>
>         Attachments: openJPA-1200_1.1.x.patch, OPENJPA-1200_trunk.patch
>
>


-- 
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