Home » Search

About COUNT

61-70 of 120Refresh
Issue
1

Issues with JDO Casting & Full Qualified Names

COUNT(e) FROM MyEntity e WHERE ((com.test.F328.EmbeddedB)e.embeddeds.get('test2')).superB = '123 ... HERE         String query = "SELECT COUNT(e) FROM MyEntity e " +             "WHERE ((com.test.EmbeddedB)e
Forum
1

Items in list are doubled, when the entity class is not enhanced

); System.out.println("Item count = "+c.getItemList().size()); em.close(); emf.close(); } } The result is "Item count = 2". Is this another bug
Forum
1

Listing large number of complicated objects with paging.

.setFirstResult(start).setMaxResults(count).getResultList(); is quite slow. Well, after first request ... .hplxtool.dao.impl.ProductDAOImpl - Start: 250, count: 50 2011-11-15 19:31:03.219 [http-bio-8080-exec-3
Forum
1

Optimistic Locking

int count; void increase() { count++; } } } For optimistic locking to work
Forum
1

Out of memory

) [2] Unexpected last type ID: 7882821588231142770 (expected 113) [3] Unexpected total object count: 3624395444842555492 (expected 3096704) [4] Unexpected total page count: 2753444525736026431
Forum
1

Query perfromance problem

. Anyway, one of my methods in DAO looks like this:  public List list(int start, int count, String ... ).setMaxResults(count).getResultList();    logger.debug("Query executed");   } catch
Issue
1

Querying error - java.lang.ClassCastException: com.objectdb.o.STV

) [3] Unexpected last type ID: 7221069219291554102 (expected 11) [4] Unexpected total object count: 3691044274576634723 (expected 1378) [5] Unexpected total page count: 8719319783396618851 (expected 2816
Forum
1

Replication error - parsing objectdb config

and Line objects (as per the tutorial) to the master database and then attempts to count the number ... ("SELECT COUNT(p) FROM Point p"); System.out.println("Total Points: " + replicatedQuery
Forum
1

Speeding up reporting queries with size() on list

is between 500ms and 1.2 sec. The same query without counting products runs in 15-30ms each time. My question is - how to speed this type of queries, where you have to count objects on some lists
Forum
1

Using the wrong class to access a database

(); } static void retrieve(EntityManager em) { // 1 Query q1 = em.createQuery("SELECT COUNT(p) FROM ... a second time, the count is zero and the average is null. - the first app cannot add points anymore