About COUNT

41-50 of 124Refresh
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
Forum
2

Bulk Delete and Update - best practice?

count to be 0 if the database is dropped  but that doesnt seem to be the case. Could you advise ... (); em.clear(); TypedQuery q = em.createQuery("SELECT COUNT(d) from CacheData d", Long ... .createEntityManager(); q = em.createQuery("SELECT COUNT(d) from CacheData d", Long.class); rows = q
Forum
2

composite index not used in query

count(a) from Action a JOIN a.objectsInCharge a1 WHERE ((a1.classIdentifier = '(OP)' and (a1 ... : count(a). Step 5: Apply selection ----------------------- Apply selection and prepare ... , removing all unnecessary components. For example, try this query: SELECT count(a) FROM Action