About COUNT

71-80 of 126Refresh
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
Issue
1

Unexpected error when loading all entity instance

Errors ------------------- [1] Unexpected total object count: 1041631 (expected 1041630) BTree ... object count: 773 (actual 772) Page Relation Errors -------------------- [1] Page #442580
Forum
1

EmbeddedId with Generated field value

how objectDB would count each object instances? Would it be 1 or 2 units for each derived object? I wouldn't exceed the 1 million limit ... Thank you Every object is count once even if it is an instance
Forum
1

10 classes limit

hey. i am a student. and we are learnning inheritance in JPA for my assiment i have 1 base class and 20 subclass in some kind of hierarchy (with all kind of mappings: SINGLE_TABLE, TABLE_PER_CLASS and JOINED). can i use the free version (it will count as 1 class?) or the 10 entity class limit won't
Forum
1

100% CPU when using multiple BETWEEN

BY r.startDate DESC, r.startTime DESC, r.channelNumber DESC   In both cases we limit the result count
Result
1

ObjectDB version 2.3.4

Version 2.3.4 Added OSGi support. Added support of MEMBER OF for inverse (mapped by) collections. Changed logging of incomplete recovery records from WARNING to TRACE  (issue #565). Changed main configuration elements from required to optional. Fixed the "Negative snapshot user count" bug (issue