You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Savva Kolbachev (JIRA)" <ji...@apache.org> on 2015/03/12 14:01:38 UTC
[jira] [Assigned] (CAY-1989) SelectQuery.pageSize property is not
works for child contex
[ https://issues.apache.org/jira/browse/CAY-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Savva Kolbachev reassigned CAY-1989:
------------------------------------
Assignee: Savva Kolbachev
> SelectQuery.pageSize property is not works for child contex
> -----------------------------------------------------------
>
> Key: CAY-1989
> URL: https://issues.apache.org/jira/browse/CAY-1989
> Project: Cayenne
> Issue Type: Bug
> Components: Core Library, ROP
> Affects Versions: 3.2.M1
> Reporter: Kravchenko
> Assignee: Savva Kolbachev
>
> Relate to child context only:
> I just try to perform query like:
> ......
> SelectQuery<Entity> query = SelectQuery.query(Entity.class);
> query.addOrdering(Entity.SOME_PROPERTY.desc());
> query.setPageSize(1);
> List<Entity> records = childContext.select(query);
> .......
> I know that I have more than one record of 'Entity' type in my db.
> Therefore "IllegalArgumentException: Returned page size (2) exceeds requested page size (1)" occurs.
> i'm trying to do it on client side and I think that this one relate exactly to ROP, because exception occurs in
> RemoteIncrementalFaultList.java (131)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)