Internal Website Search

31-40 of 138 resultsRefresh

Internal exception when updating date filed (TemporalType.DATE)

final int GENERATE_PERSONS_COUNT = 1000;         private ... ; createPersons(GENERATE_PERSONS_COUNT);            ... ;      private void createPersons(long count) {     

Queries are slow on a large database

in my MessageImpl example, I want to get the object with the highest Id. I tried a query like "count(this.Id)" or "max(this.Id)" but I get an exception: [ObjectDB 2.5.0_01]  ==> count <== (this.Id) javax.jdo.JDOUserException Invalid context for aggregate 'count' (error 743)

Duplicate Entity class names causes Exception in Query

.Singleton.count", query = "SELECT COUNT(x) FROM Item x") }) public class Singleton implements ... > q = em.createNamedQuery("objdbTest.Singleton.count", Long.class); q.setFlushMode ... = "objdbTest.Singleton.count", query = "SELECT COUNT(x) FROM objdbTest.Item x")

Memory Leak in EntityManagerFactory ?

>One direction forward is to count all the invocations of emf.createEntityManagercreate_cound and close_count are identical. I made create_count++ and

Trouble viewing db in Explorer.

;         <SimpleResultBuilder name="COUNT(this)" type ... ; [2012-06-07 11:08:06 #47187 query.manager]     <queryRequest query="SELECT COUNT ... ; <queryRequest query="SELECT COUNT(this) FROM com.***.busi     nessObjects

Possible issue with timestamps

> query = em.createQuery("SELECT count(c) FROM CDI c", Long.class);       ... ;     query = em.createQuery("SELECT count(c) FROM CDI c where c.creationDate ... ;         query = em.createQuery("SELECT count(c) FROM CDI c

DBDoctor BTree Errors

> ------------------ [1] com.btc.ep.architecture.bl.internal.dmos.pool.PoolImpl   - Unexpected page count: 958 (actual 1)   - Unexpected object count: 9043 (actual 1) [2] com.btc.ep.architecture.bl.internal.dmos.pool.PoolScopeImpl   - Unexpected page count: 8 (actual 1)  

Out of Memory - Slow leak?

> It seems that there is a problem with some heavy objects that ObjectDB manages using reference counting. Somehow in an unknown situation the reference count drops to -1 and then the objects are pinned ... .2.9_07. It should solve the problem by blocking an attempt to decrease the reference count below 0

stress test -> com.objectdb.o.InternalException: null

com.objectdb.o.InternalException: Negative snapshot user count com.objectdb.o.InternalException: Negative snapshot user count at com.objectdb.o.SNP.D(SNP.java:344) at com.objectdb.o.SFL.aa(SFL ... > The "Negative snapshot user count" error and a memory leak that its causes have not been fixed yet.

"is not null" queries not working with index

entity. When doing count-queries at the end, wrong results are fetched. COUNT(p) FROM Foo p").getSingleResult ... COUNT(p) FROM Foo p WHERE p.bar IS NULL").getSingleResult());