About retrieve

issue

InternalException

  Bug Version: 2.4.2 Priority: Normal Status: Closed Replies: 5 Type:  Bug ...

 
forum_thread

java.lang.ClassCastException in OSGi runtime when loading data from DB

Hello, I'm trying to use ObjectDB in an OSGi environment (Karaf 4.0.7). I'm now facing ClassCastExceptions on my "entity" classes when I try to read data from the DB. In a very old (2011?) forum entry this problem was already discussed and it appears to be related to classloader problems. My entity is a dedicated bundle. I have one bundle with the database service (doing the actual objectdb actions -> persist, query etc). #1 2016-12-09 10:44 Hello, I'm trying to use ObjectDB in an OSGi environment (Karaf 4.0.7). I'm now facing Cl ...

 
api-jdo

javax.jdo.JDOCanRetryException

This is the base class for exceptions that can be retried.(Exception of JDO)

 
api-jdo

javax.jdo.JDOFatalDataStoreException

This class represents data store exceptions that cannot be retried.(Exception of JDO)

 
api-jdo

javax.jdo.JDOFatalUserException

This class represents user errors that cannot be retried.(Exception of JDO)

 
manual

[ODB1] Chapter 1 - About ObjectDB

Describes the main features and editions of ObjectDB 1.0 for Java/JDO.... ObjectDB has very good performance. It can store and retrieve thousands of objects per second. Even queries on millions of objects ...

 
api-jdo

javax.jdo.JDOException

This is the root of all JDO Exceptions.(Exception of JDO)

 
forum_thread

Need help to make this test work and define proper annotations for entities Lists

Hi, I can't get this simple test case to work, i know it is probably due to the lack of proper annotations on entities list, could anyone help me to define them? NB in this test case I didn't set all entities methods for the sake of clarity, also in actual application no field are public nor static and no entity is static.    #1 2016-08-19 00:32 Hi, I can't get this simple test case to work, i know it is probably due to the lack of proper annota ...

 
forum_thread

Wrong data stored in time only fields

This may be related to the fix for the problem described in this thread: Wrong data stored in date only fields. The object and its date and time fields are the same as in the referenced thread. Except we are using ObjectDB 2.6.4_08, the system time zone is set to EST and both the OS and JVM are using the 2015g time zone data. #1 2015-12-19 01:17 This may be related to the fix for the problem described in this thread: Wrong data stored in date only fields ...

 
api-jpa

javax.persistence.EntityNotFoundException

Thrown by the persistence provider when an entity reference obtained by EntityManager.getReference is accessed but the entity does not exist.(Exception of JPA)