About COUNT

81-90 of 121Refresh
Issue
1

com.objectdb.o.InternalException: null

------------------- [1] Page #10 entry 5 has unexpected field count (1 instead of 12)   se
Forum
1

com.objectdb.o.NLV cannot be cast to com.objectdb.o.CMV

We are using ObjectDB 2.5.1_04. The following JPQL query causes an internal exception: SELECT COUNT(r) FROM RecordingMetaData AS r WHERE ((r.mapFromCli LIKE '192.168.10.13%' ESCAPE '\')) The exception: Caused by: java.lang.IllegalStateException: com.objectdb.o.InternalException: Unexpected
Forum
1

Concerning coding style of the example in the posting instructions

and test cases,  I contest that it breaks the rules for JPA2 entities on at least 2 counts. Firstly
Forum
1

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

({ @NamedQuery(name = "numberOfMapItems", query = "SELECT COUNT(x) FROM CompoundKeyMapItem x
Forum
1

createQuery method error

Hello, I am learning ObjectDB now. I create a simple Dao method as below:   public boolean isJobExist(String name) { TypedQuery query = em.createQuery( "SELECT count(j) FROM MFJob j WHERE j.jobName = :name", Long.class); return query.setParameter("name", name
Forum
1

Doctor - high memory usage

Errors ------------------- [1] Unexpected total page count: 33024 (expected 33152) Creating
Forum
1

Drop in Client/server mode not working

(             em.createQuery("SELECT COUNT(e) FROM MyEntity e").getSingleResult());         em.close
Forum
1

Entity has be persistended,but query not fetched?

);         System.out.println("count: " + query.getResultList().size());         em.getTransaction().rollback
Forum
1

enumeration table? how to on pure jpa?

these by hand forces users some mistakes when configuration count increase much. It would be good
Forum
1

Error 363 - Failed to read value of inverse relationship

isDatabaseEmpty() {         try {             return db.createQuery("SELECT count(p) = 0 FROM Player p