4.8.4 Aggregate Functions in the SELECT Clause The result of a query ... The Java type that is contained in the result of a query using an aggregate function is as follows: COUNT returns Long. ...
-igor On Fri, May 3, 2013 at 8:35 AM, Paul Bors <[email protected]> wrote: > I'm a bit confused and can't find the JPA version that uses longs instead of > ints as mentioned in the migration guide at: > > https://cwiki.apache.org/WICKET/migration-to-wicket-60.html > > Repeaters > > * `IDataProvider` was converted to using `long` instead of `int` to > better line up with JPA and other persistence frameworks. This has caused a > rather large cascade of `int` to `long` changes all over the repeater > packages (WICKET-1175 <https://issues.apache.org/jira/browse/WICKET-1175> ). > > > > Could someone shed some light? I'm still using JEE 6 (as many of us) and I > don't feel comfortable casting a bunch of longs to int in my DAO code. > > > > ~ Thank you, > > Paul Bors > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
