Home » Search

About SUM

21-30 of 30Refresh
Forum
3

find() delay

());    }   }   System.out.printf("The sum : %d %n", iSum);   em.close();   emf.close(); } @Entity static class Node ... 9 : type:Node, sons:0 The sum : 7 The bad result is here: Node 1 has no parent. Node 2 ... null has no sons null has no sons null has no sons null has no sons The sum : 0 I tried
Forum
3

Inconsistent return types from JDO query

I'm running a JDO query which returns the sum of an int field.  The return type of the Object ... .class) has no effect. The type of a sum expression depends on the type of the field on which it works ... and for the test. It shows that the sum of a single result uses the type of the original value rather than long as
Forum
3

Pre-detach loading: retrieval by navigation not working in if statement

_LightingZone() { Float sum = 0f; if (getL_LightingZone() != null && getL_LightingZone().getEls ... ().getValue(); if (area != null) { sum += area; } else { return null;//POLICY } } } return sum
Forum
2

Getting sales quantity per country with a query, an idea anyone?

a list of 3 dimensional Object array containing respectively countries, quantity of orders and sum ... ),"                                 + "SUM(ord.getAmountPaid()) "                                 + "FROM OrderData ord
Forum
2

How to add minutes to a Date with JPA2

Hi,  I have to sum to a date of minutes, and check the date obtained is greater than the current date. My idea is as follows: Calendar currentTime = Calendar.getInstance(); Date currenteDate ... .prod(samplingPeriod,3); //minutes to be added I must now sum to the dateCapture the delayMinute
Forum
2

Performance issues on aggregate query

we are using this aggregate query to collect some data: select p3.doubleValue,c1.classIdentifier,c1.objectName,sum(p4.doubleValue),sum(p4.doubleValue*p5.doubleValue),0,p7.doubleValue,p3.name,count(o) from ObjectNode o INNER JOIN o.properties p1 INNER JOIN o.properties p2  INNER JOIN o.properties p3
Result
1

ObjectDB version 2.5.7

an IllegalAccessError exception when using abstract non public persistable types. Fixed the result type of a sum query on a single value.
Result
1

ObjectDB version 2.6.0

of database file withunexpected HashMap.Entry as a listed type. Fixed return type of SUM queries
Forum
1

Connection is closed (error 526)

);    }    sons.clear(); sons = null;      }   System.out.printf("The sum : %d %n", iSum
Forum
1

IN expression in a Criteria Query

that are used for grouping (each group has unique value combination). Aggregate calculations (count, sum