Re: Slice setFirstResult with setMaxResults broken?

2011-08-17 Thread Pinaki Poddar
> Slice setFirstResult with setMaxResults broken? If the query has a order by clause, then yes. Just noticed. Tricky/interesting problem to solve. Any brave code warrior? - Pinaki Poddar Chair, Apache OpenJPA Project -- View this message in context: http://openjpa.208410.n2.nabble.com/Slice

Documentation link broken?

2011-08-17 Thread Laird Nelson
http://openjpa.apache.org/builds/apache-openjpa-2.1.1/docs/manual/manual.htmlgives me a 404. This is the link off the main Documentation page. Thought someone should know. Best, Laird -- http://about.me/lairdnelson

Re: Problems when using "openjpa.MetaDataFactory" Property

2011-08-17 Thread Pinaki Poddar
Try something similar with Slice, where the database is same, but two slices use different schema. where you store the new objects are determined by slice.DistributionPolicy. Hence, it is possible to store related objects in separate slices. - Pinaki Poddar

Slice setFirstResult with setMaxResults broken?

2011-08-17 Thread Michael Pflueger
Hi, with Slice, when i do query.setFirstResult(5).setMaxResults(20), I get 15 results in the resultset, not 20 as one would expect (the table is much larger). With a different similar setup but without slice, everything works fine, so I suspect slice might be the cause here. I'm using OpenJPA

Re: Problems when using "openjpa.MetaDataFactory" Property

2011-08-17 Thread Marcel Urbanek
Hi, I now opened a JIRA for the issue ( https://issues.apache.org/jira/browse/OPENJPA-2040 ). Regarding your questions: Qualifier means Schema, so in the tablename "test.Person" "test" would be the qualifier. The two records are in different schemas but on the same database (otherwise my Met