About HAVING

issue

Regression bug in using version 2.4.5 with GlassFish 3.1.2

[#|2012-12-18T05:26:53.167-0800|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=44;_ThreadName=Thread-2;|java.lang.NullPointerException at com.objectdb.jpa.EMImpl.<init>(EMImpl.java:72) at com.objectdb.jdo.PMImpl.<init>(PMImpl.java:109) at com.objectdb.jpa.EMF.ao(EMF.java:291) at com.objectdb.o.OMF.al(OMF.java:700) at com.objectdb.jpa.EMF.createEntityManager(EMF.java:250) at org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:211) Bug Version: 2.4.5 Priority: High Status: Fixed Replies: 1 Type:  Bug ...

 
forum_thread

Does ObjectDB support @Parent for @Embeddable reference to parent?

AFAIK JPA does not directly support an @Embeddable referencing the parent in which it is @Embedded. But Hibernate has a special @Parent for it (see Entity extensions 2.4.3.4.@Parent). @Entity public class Person { @Embeddable public Address address; ... } @Embeddable public class Address { @Parent public Person owner; ... } Is there a safe and recommended way of achieving this in ObjectDB ? #1 2017-05-01 09:31 AFAIK JPA does not directly support an @Embeddable referencing the parent in which it is @Embedded. But H ...

 
issue

Unexpected exception (Error 990)

Exception is thrown on commiting a transaction using this code: transaction.begin(); try { repository.setStatus(ImportStatusFlag.RUNNING_IMPORT); repository.setImportProgressMessage("Importing..."); //$NON-NLS-1$ repository.setImportProgressPercent(0); transaction.commit(); } finally { if (transaction.isActive()) { transaction.rollback(); } } "repository" is a Entity in database. Stracktrace as follows:   Bug Version: 2.5.1 Priority: Normal Status: Fixed Replies: 2 Type:  Bug ...

 
forum_thread

Problem with byte arrays in JDO - ClassCastException

A bizarre ClassCastException is thrown if I attempt to obtain a byte array field as the result of a Query: Exception in thread "main" java.lang.ClassCastException: java.lang.Boolean cannot be cast to [B at spiffy.test.ObjectdbTest.main(ObjectdbTest.java:44) #1 2017-09-13 03:33 A bizarre ClassCastException is thrown if I attempt to obtain a byte array field as the result of a Query: ...

 
issue

[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null

reporting issue as requested  Bug Version: 1.04 Priority: Normal Status: Fixed Replies: 2 Type:  Bug ...

 
forum_thread

problems with OEM license/enhancing

we did add this section to our maven pom.xml (from within Eclipse): ... <build>   <pluginManagement> ... #1 2016-04-23 18:12 we did add this section to our maven pom.xml (from within Eclipse): ... <build> <pluginManageme ...

 
issue

NPE on em.createQuery(query).getResultList()

(JPA2 support getting better but still not quite there, excellent progress regardless). Difficult to see what's going on because of obfuscation, but it didn't look like this exact issue was reported yet (seemed to differ from the other reported and fixed NPEs): Bug Version: 2.2.7 Priority: Normal Status: Fixed Replies: 1 Type:  Bug ...

 
forum_thread

Post-compilation enhancement vs Automatic Run-time enhancement

We are getting massively different results on field loading between explicit post-compile enhancement and automatic run-time enhancement. Testing exactly where and when the results are different for our demo web app is a very time consuming task, and very difficult, it means testing literally 100s of user interfaces (noting we get different results OUTSIDE THE JAVA SERVER FACES BACKING BEAN LAYER depending on the enhancement stragegy). Can you please explain how this could possibly be so ? #1 2014-09-17 22:23 We are getting massively different results on field loading between explicit post-compile enhancement and automat ...

 
forum_thread

IN operator syntax

Hi, what is the correct syntax for IN operator when list of literals ia used instead of parameter, e.g. SELECT FROM Info i WHERE i.status IN (1,4) ? (Suppose status is int.) I always get this exception: SELECT FROM Info i WHERE i.status IN (1 ==> , <== 4) javax.persistence.PersistenceException Unexpected query token ',' (closing ')' is missing) (error 752)   Query with only one item in list works fine: #1 2013-03-20 15:30 Hi, what is the correct syntax for IN operator when list of literals ia used instead of parameter, e.g. ...

 
forum_thread

Error with org.springframework.data.jpa.domain.AbstractPersistable

I am working on a Spring Boot application. I want to integrate ObjectDB with Spring Data JPA. I refer to the http://www.objectdb.com/database/forum/860 to do the configuration. When I start up my application, I got below error. It seems like ObjectDB does not support a generic @ID in the super class. Is this a bug in the ObjectDB? It was totally fine when working with Hibernate or EclipseLink. #1 2014-10-25 12:21 I am working on a Spring Boot application. I want to integrate ObjectDB with Spring Data JPA. I refer to ...