Strange, I cannot see this issue (and few latest others) in JIRA web
interface even if I request all avaliable issues:
https://issues.apache.org/cayenne/secure/IssueNavigator.jspa?reset=true&mode=hide&pid=10000
2008/12/2 Andrus Adamchik (JIRA) <jir..pache.org>
>
> [
> https://issues.apache.org/cayenne/browse/CAY-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Andrus Adamchik closed CAY-1142.
> --------------------------------
>
> Resolution: Fixed
>
> > (Single table) Inheritance and Paginated lists
> > ------------------------------------------------
> >
> > Key: CAY-1142
> > URL: https://issues.apache.org/cayenne/browse/CAY-1142
> > Project: Cayenne
> > Issue Type: Bug
> > Components: Cayenne Core Library
> > Affects Versions: 3.0M5
> > Reporter: Andrus Adamchik
> > Assignee: Andrus Adamchik
> > Fix For: 3.0M6
> >
> >
> > Looks like using paginated queries results in exceptions and generally
> incorrect behavior when fetching on a superclass in case of single table
> inheritance. (This is not specific to single-table, rather this is the case
> we can easily test). The problem is PersistentListHelper inner class of
> IncrementalFaultList:
> > boolean incorrectObjectType(Object object) {
> > ...
> > if
> (!persistent.getObjectId().getEntityName().equals(rootEntity.getName())) {
> > return true;
> > }
> > return false;
> > }
> > Comparing entity names is not appropriate as an object can be a subclass
> with a different entity name.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
This archive was generated by hypermail 2.0.0 : Tue Dec 02 2008 - 14:32:54 EST