Internal Website Search

41-50 of 138 resultsRefresh

IN expression in a Criteria Query

class="pre-query"> SELECT a FROM Account a GROUP BY a.code HAVING COUNT(a) < 2 It throws ... the GROUP BY query: SELECT a FROM Account a GROUP BY a.code HAVING COUNT ... calculations (count, sum, avg, max, min) that are carried out on all the objects (or the object tuples

Query Method NullPointerException on List iteration

> Category1_Count Category2_Countcount = 0; for (Product p : products) { if (p.getCategory().getCategoryName().equals(categoryName)) { count++; } } return count; }

how to query by properties of onetomany relations? (Error 990)

; "select count(f) from Foo f where f.bars.name = :name");         ... ("Count: " + query.getSingleResult());         em.close();   ... -query"> select count(f) from Foo f where f.bars.name = :name select

Error using query with MAX() function

] Unexpected total object count: 1812225 (expected 1812197) BTree Value Errors ------------------ [1] com.ibm.check.cmvc2git.entities.Notes - Unexpected object count: 59999 (actual 59971) Page ... this function if( (count % config.getUpdateFreq()) == 0

Exception on creation when running multithreaded

and are very similar with some minor differences. Now after the CDIs creation I'm running a count query ... Organisations I do a count on Organisations and get 800 and then I do "select $1 from Organisation $1 ... >   Now on the first query I'm getting back 0 objects, even though the count before

Insertion Speed Rate and Batch Load

;      int count = 1000000;         long ... .getTransaction().begin();         for (int i = 1; i <= count; i ... = System.currentTimeMillis() - startTime;         long rate = count / time

Visibility of changes in Transaction is not visible to a JPA QL Query

that I add in the transaction are not visible when I go to count them; TypedQuery<Long> q = em.createQuery("SELECT COUNT(x) FROM Item x", Long.class);   ... = em.createQuery("SELECT COUNT(x) FROM Item x", Long.class);   try {    return q

OEM licencing limitation

, but we have doubts how is the number of persistent objects counted. We unfortunately don't have the objectdb file ... works in this case? Are only internal entities counted to limited number or also the external Test ... classes and instances of unsigned classes are counted. In this case, if test is enhanced

Doctor bug?

] net.pocketservices.athene.objects.persistent.HotTag - Unexpected object count: 1 (actual 0) [2] net.pocketservices.athene.objects.persistent.HotUser - Unexpected object count: 1 (actual 0) [3] net.pocketservices.athene.objects.persistent.Person - Unexpected object count: 2 (actual 0) [4

Corrupt database page

>   - Unexpected object count: 350093 (actual 350090) Page Content Errors ------------------- [1] Page #11436 entry 0 has unexpected field count (12 instead of 6)   ... has unexpected field count (44 instead of 6)   com.btc.ep.base.bl.internal.dmos.message