About COUNT

41-50 of 126Refresh
Forum
2

Trouble viewing db in Explorer.

">                 [2012-06-07 11:08:06 #47187 query.manager]     COUNT(this) FROM com.***.busi     nessObjects.***" args="null
Forum
2

IN expression in a Criteria Query

a.code HAVING COUNT(a) < 2 It throws following exception: com.objectdb.o.UserException: Invalid ... ). Regarding the GROUP BY query: SELECT a FROM Account a GROUP BY a.code HAVING COUNT(a) < 2 ... that are used for grouping (each group has unique value combination). Aggregate calculations (count, sum
Issue
2

Corrupt database page

------------------ [1] com.btc.ep.base.bl.internal.dmos.message.MessageImpl   - Unexpected object count: 350093 ... count (12 instead of 6)   com.btc.ep.base.bl.internal.dmos.message.MessageImpl(375):'41zbQ' [2] Page ... entry 2 has unexpected field count (44 instead of 6)   com.btc.ep.base.bl.internal.dmos.message
Forum
2

Error using query with MAX() function

% 80% 90% 100% Global Value Errors ------------------- [1] Unexpected total object count ... .Notes - Unexpected object count: 59999 (actual 59971) Page Relation Errors ... my loop in this function if( (count % config.getUpdateFreq()) == 0) { em
Forum
2

Exception on creation when running multithreaded

with some minor differences. Now after the CDIs creation I'm running a count query and it returns ... , meaning after the 3 PDIs I create the 800 Organisations I do a count on Organisations and get 800 ... yet.   Now on the first query I'm getting back 0 objects, even though the count before it shows
Forum
2

Insertion Speed Rate and Batch Load

.createEntityManager();                 int count = 1000000;         long startTime = System.currentTimeMillis();         em.getTransaction().begin();         for (int i = 1; i <= count; i ... () - startTime;         long rate = count / time * 1000;         System.out.println("Persisted " + rate
Forum
2

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

Guest count: " + guests.size() );   return guests;     } } I get an exception when I want ... count: 0 18:51:18,219 INFO  [stdout] (http--127.0.0.1-8080-1) persist is within an active transaction ... INFO  [stdout] (http--127.0.0.1-8080-1) persisted Guest count: 1 but immediately after getAllGuests
Forum
2

OEM licencing limitation

how is the number of persistent objects counted. We unfortunately don't have the objectdb file anymore ... (); } Could you please confirm us, how the licencing works in this case? Are only internal entities counted ... and instances of unsigned classes are counted. In this case, if test is enhanced with an OEM activation key
Forum
2

Replication Issue

");         EntityManager em = EMF.createEntityManager();         int count = 0;         while( true )         {             DummyEntity x = new DummyEntity(String.valueOf(count));             em.getTransaction ... ();             System.out.println(count +":" +x.toString());             Thread.sleep(1000);             count
Forum
2

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

go to count them; TypedQuery q = em.createQuery("SELECT COUNT(x) FROM Item x", Long.class ... howManyItemsExist(EntityManager em) {   TypedQuery q = em.createQuery("SELECT COUNT(x) FROM Item x", Long ... - FlushModeType.AUTO is specified. You are right! I was doing a count with the flush mode auto on... If I