Internal Website Search

61-70 of 138 resultsRefresh

Speeding up reporting queries with size() on list

cache, execution time is between 500ms and 1.2 sec. The same query without counting products runs in ... , where you have to count objects on some lists?   lwalkowski Lukasz Walkowski

Database corrupted after schema change

> ------------------- [1] Page #19753 entry 0 has unexpected field count (7 instead of 5) 0. oid => ... has unexpected field count (7 instead of 5) 0. oid => '559770' 1. deleted => false 2

@ElementCollection query returning extra result per element in collection

, but I can't say what this is for now. The issue in my app is that the 'count' of the records ... to my entities, but not so easy to add with the 'count' while re-using the same predicates.

Optimistic Locking

(); } @PersistenceCapable static class Counter { private int count; void increase() { count

Date field Index is corrupted due to time change

; Query q = em.createQuery("SELECT COUNT(r) FROM DateTime AS r");       ... ;    q = em.createQuery("SELECT COUNT(r) FROM DateTime AS r");    

Group by date / time

this: SELECT COUNT(id) FROM stats WHERE YEAR(record_date) = 2009 ... class="pre-query"> SELECT COUNT(id) FROM stats WHERE YEAR(record_date) = 2009 GROUP BY DATE

EmbeddedId with Generated field value

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 Slinky Silvio Ornano Every object is count

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

object count: 3691044274576634723 (expected 1378) [5] Unexpected total page count

Issues with JDO Casting & Full Qualified Names

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

Error 990 when querying a class with persistence-capable-superclass

(JdoQuery.java:720) at com.spiffymap.jdo.JdoDaoBase.count(JdoDaoBase.java:143) count(this)"); query.setClass(myClass); return (Long) query.execute