[infinispan-issues] [JBoss JIRA] (ISPN-5780) SumAccumulator should behave according to JPA spec
Adrian Nistor (JIRA)
issues at jboss.org
Thu Sep 17 11:19:00 EDT 2015
Adrian Nistor created ISPN-5780:
-----------------------------------
Summary: 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.Alpha1
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