[infinispan-issues] [JBoss JIRA] (ISPN-5780) SumAccumulator should behave according to JPA spec
Tristan Tarrant (JIRA)
issues at jboss.org
Wed Sep 23 05:18:00 EDT 2015
[ https://issues.jboss.org/browse/ISPN-5780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tristan Tarrant updated ISPN-5780:
----------------------------------
Fix Version/s: 8.1.0.Alpha2
(was: 8.1.0.Alpha1)
> SumAccumulator should behave according to JPA spec
> --------------------------------------------------
>
> Key: ISPN-5780
> URL: https://issues.jboss.org/browse/ISPN-5780
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying
> Affects Versions: 8.0.0.Final
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 8.1.0.Alpha2
>
>
> Currently it just preserves the type of the field, which can easily lead to overflow. The JPA spec tries to avoid it by widening the numeric type, see 10.2.7.4. JPQL Aggregate Functions of JPA spec here: http://docs.oracle.com/cd/E12839_01/apirefs.1111/e13946/ejb3_langref.html
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list