ok i am having a serious wtf moment

so count queries in jpa now return a long instead of int

but

public Query setMaxResults(int maxResult);
public Query setFirstResult(int startPosition);

so wtf? you can return a huge count but you cant page over the query?

-igor


On 3/21/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:

so i think this very simple refactor gout a bit out of control. see
attached patches. thoughts?

-igor


On 3/19/07, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
>
> hibernate 3.2 has switched from using an int to a long for returntype of
> their count queries. jpa also uses a long. so i figure its time to
> switch idataprovider to the long as well so that it maps nicely. since
> we have broken 1.3 already, we might as well do it now.
>
> -igor
>



Reply via email to