Internal Website Search
51-60 of 138 resultsRefreshJBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception; guests = query.getResultList(); System.out.println( "persisted Guest count: " + guests ... -8080-1) persisted Guest count: 0 18:51:18,219 INFO [stdout] (http--127.0.0.1-8080-1) persist ... ) persisted Guest count: 1 but immediately after getAllGuests is called and the output shows | |
Replication Issue; int count = 0; while( true ... ; DummyEntity x = new DummyEntity(String.valueOf(count));   ... ; System.out.println(count +":" +x.toString());   | |
Bulk Delete and Update - best practice?. In the following test I'm expecting the second row count to be 0 if the database is dropped  ... (); em.clear(); TypedQuery<Long> q = em.createQuery("SELECT COUNT(d) from CacheData d", Long ... .createEntityManager(); q = em.createQuery("SELECT COUNT(d) from CacheData d", Long.class); rows = q | |
composite index not used in query select count(a) from Action a JOIN a.objectsInCharge a1 WHERE ((a1 ... : count(a). Step 5: Apply selection ----------------------- Apply selection and prepare final ... > For example, try this query: SELECT count(a) FROM Action | |
JPQL keyword in entity - what to do? this: select new ResultData(p.type.name, count(p.id)) from Product as p ... .createQuery( "select new pl.hplxtool.model.ResultData(p.type.name, count(p.id)) " + "from ... .done, count(p.id)) from Product as p group by p.type.name,p.done", ResultData.class | |
Unexpected exception (Error 990) on find count: 850986 (expected 850977) [2] Unexpected total page count: 206592 (expected 206563) BTree Value Errors ------------------ [1] local.jpa.entity.ebene1a.MyEntity - Unexpected object count | |
Unexpected Exception (Error 990) with ArrayIndexOutOfBoundsException (mutex) { final Query count = em.createQuery("SELECT COUNT(p) FROM EventLogPersistEntry p"); long rows = 0; try { rows = (long) count.getSingleResult(); } catch | |
Persist & remove in same transaction, EntityManager is flushed, Transaction is not committed Count the number of simple entity ... Count the number of simple entity objects in the database Commit the transaction The count operations in step 3 & 6 both return 1 but I would've | |
Unexpected Query Token / Casting in Query SELECT COUNT(DISTINCT $1) FROM com.quasado.foundation.contact ... COUNT(DISTINCT $1) FROM com.quasado.foundation.contact.individual.IndividualContact $1 WHERE UPPER ... another casting: SELECT COUNT(DISTINCT $1) FROM com | |
com.objectdb.o.InternalException: java.lang.NullPointerException razonesSociales; When I run this query it works ok: SELECT COUNT ... .NullPointerException SELECT COUNT(item.sysID) FROM Nosis item WHERE  ... that a "SELECT COUNT(item.sysID) FROM Nosis item WHERE..." query is not going to generate the error |