About HAVING

forum_thread

Memory Leak?

#1 2011-05-03 17:51 Hi, I'm evaluating ObjectDB and certainly new to it. I'm seeing a possible memory leak in Obj ...

 
issue

[ObjectDB 2.6.0_04] Unexpected exception (Error 990) com.objectdb.jpa.JpaQuery.getResultList

Hello, the following exception appears when we execute a query:   Bug Version: 2.6.0 Priority: Normal Status: Active Replies: 1 Type:  Bug ...

 
forum_thread

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

Hello! This query is working fine SELECT DISTINCT $1 FROM ChatHistoryItem $1 JOIN $1.recipient $2 JOIN $1.sender $3 WHERE ($2.id='22afeafe-363f-4397-8553-cc5688ba142d') OR ($3.id='22afeafe-363f-4397-8553-cc5688ba142d')  ORDER BY MAX($1.createDate) DESC   but this query returns an exception "com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV" SELECT DISTINCT $1 FROM ChatHistoryItem $1 JOIN $1.recipient $2  #1 2013-08-01 11:05 Hello! This query is working fine SELECT DISTINCT $1   FROM ChatHistoryItem $1 JOIN $ ...

 
issue

javax.jdo.JDONullIdentityException: The identity must not be null.

When stopping my JEE 6 Web Profile application in Glassfish 3.1.1, I sometimes get this exception, yielding in not merging athene.odb and athene.odb$. A bug in objectdb?    bjjl@ps2:~$ ls -l /var/db/athene/ total 122080 -rw-r--r-- 1 bjjl webservd   2621440 2012-05-24 16:40 athene.odb -rw-r--r-- 1 bjjl webservd 122265952 2012-05-24 16:40 athene.odb$ bjjl@ps2:~$   Bug Version: 2.4.0 Priority: Normal Status: Fixed Replies: 4 Type:  Bug ...

 
forum_thread

TreeSet and compareTo() issue

Hi I'm trying to use TreeSet but getting NPE on the compareTo() method when it does a find(): #1 2016-02-02 20:48 Hi I'm trying to use TreeSet but getting NPE on the compareTo() method when it does a find(): a ...

 
issue

InvalidClassException

Caused by: java.io.InvalidClassException: com.objectdb.o.VAL; local class incompatible: stream classdesc serialVersionUID = 3937626490472381156, local class serialVersionUID = 7665785024158016670 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:616) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1623) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1623) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518) at java. Bug Version: 2.6.5 Priority: Normal Status: Closed Replies: 3 Type:  Bug ...

 
issue

Weird issue with variable naming

hi, Bug Version: Priority: Normal Status: Fixed Replies: 4 Type:  Bug ...

 
forum_thread

Spring Data JPA - PersistenceException thrown

In a Spring-managed application that has 2 EntityManagerFactories (one Hibernate and one ObjectDB), I see the 2 EMFs created successfully on startup, but then subsequently when the application is initializing Spring JPA repositories with Hibernate EntityManagers, the application throws the following stacktrace. I've seen a couple of similar posts regarding a NPE when looking for resources, but they seem different enough that they might be a different issue.   #1 2015-06-23 22:49 In a Spring-managed application that has 2 EntityManagerFactories (one Hibernate and one ObjectDB), I see the 2 E ...

 
forum_thread

TYPE Expression

Hi there! Trying to add a simple type expression with the criteria api like in your sample: cb.notEqual(e.type(), cb.literal(Country.class)); results in the error: Caused by: com.objectdb.o.UserException: Attempt to store an instance of a non persistable type java.lang.Class at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.TYW.writeElement(TYW.java:223) at com.objectdb.o.QRR.l(QRR.java:424) at com.objectdb.o.QRR.g(QRR.java:230) at com.objectdb.o.QRR.b(QRR.java:151) #1 2011-12-06 00:01 Hi there! Trying to add a simple type expression with the criteria api like in your sample: cb. e ...

 
forum_thread

Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany

In the code example below (also attached) I would like to understand why I am able to print to console a lazy @OneToMany mapped field after a finding entity manager closes. There is a switch DO_VIEW_BEFORE_CLOSE, and when it is true the fields are accessed and output before the finding entity manager closes and as expected both a mapped @OneToMany list and an unmapped @OneToMany list are viewable: a.listA_mapped:[{A}[4]"ownedElement1", {A}[5]"ownedElement2"] a.listB_unmapped:[{B}[2]"b1", {B}[3]"b2"] #1 2012-03-14 01:37 In the code example below (also attached) I would like to understand why I am able to print to console a lazy @On ...