About BigDecimal

21-26 of 26Refresh
Forum
4

Problem of query With an aggregate function

", convert.convertDateTime(choix.getEndDate())); List<BigDecimal[]> listRes = new ArrayList<BigDecimal[]>(); listRes = (List<BigDecimal[]>) listClassRepHost.getResultList(); List listSommeLong = new ArrayList(); for (BigDecimal[] bigDecimals : listRes
Issue
3

Wrong type on SUM function

", this).getResultList(); The problem is about SUM on cc.totalCC.importe, a BigDecimal field. It works fine on all groups giving to me the correct sum BigDecimal value, except in one group that have only one object with a BigDecimal value that has no decimals, for this group it returns a Long type value
Forum
2

Query in JPA2 with LEFT JOIN on INNER JOIN

); CriteriaQuery<BigDecimal> profileCriteriaQuery = cb.createQuery(BigDecimal.class); CriteriaQueryBigDecimal> selection = profileCriteriaQuery.select
Result
1

ObjectDB version 2.6.0

on BigDecimal field (issue #1556). Fixed a client activation issue when accessing JPA Metamodel before
Result
0

[ODB1] Chapter 7 - JDOQL Queries

types (Byte, Short, Character, Integer, Long, Float, Double), as well as BigInteger and BigDecimal ... types (Byte, Character, Short, Integer, Long, Float, Double, and also BigInteger and BigDecimal ... and BigDecimal. Multiple order expressions can also be specified: Query query = pm.newQuery(Person.class
Result
0

[ODB1] Chapter 3 - Persistent Classes

. java.math.BigInteger and java.math.BigDecimal Any array of persistent type, including multi