About field

forum_thread

Entity listener - event instead of object

Hi, Currently I'm playing with entity listener to implement auditing with difference between values in updated entity. There is a problem however with accessing "old" version of object stored in database. I can't find the nice way to use EntityManager in EntityListener. Because of that, I can't store separate entity for given event. Right now I'm using BaseEntity which contains #1 2011-07-20 12:49 Hi, Currently I'm playing with entity listener to implement auditing with difference between values i ...

 
forum_thread

com.objectdb.o.UserException: Failed to generate dynamic type

Hi, I am trying to open a DB and I get the following error:   ... Reading about Schema Update. I see there is Package/Class/Field elements in the schema - but where do I find the schema section? In which ...

 
forum_thread

Mismatch client-server protocol prefix

Hello! We migrated one of our legacy webservices to Spring Boot/Spring MVC. Now i have a strange problem. At first the app runs perfectly for a couple of hours. After that it stops working and I get the following exception: ... We are persisting a new instance of LoginEvent. The Id field is not explicitly set and the field is annotated with: @ Id @ GeneratedValue ...

 
forum_thread

object creation during pmf.getPersistenceManager()

Hi #1 2011-07-28 10:37 Hi   We have observed that during pmf.getPersistenceManager(), objectdb is creating object instances ...

 
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  ... holds its own PersonalData instance in the receipt field. To avoid data duplication consider using Entity instead of ...

 
forum_thread

OEM Enhancer causing Jenkins job to freeze

Hi all, We are using ODB enhancer in one of our jobs on jenkins, built via ant. Recently we started to encounter situation, where this job's execution gets stuck for ever on Jenkins. This is causing us a lot of problems with our CI. ... sun.reflect.ReflectionFactory#1 at java.lang.reflect.Field.acquireFieldAccessor(Field.java:918) at java.lang.reflect.Field.getFieldAccessor(Field.java:899) at ...

 
forum_thread

EntityManager.refresh takes a long time

EntityManager.refresh takes a long time for entity object Person in this code: #1 2013-08-08 15:21 EntityManager.refresh takes a long time for entity object Person in this code: logger. log ( ...

 
forum_thread

Extra uninitialised entities spawned on merge()

In the following, Element is a base entity class, with a bi-directional @ManyToOne-@OneToMany relationship Element owner - List<Element> ownedElements, and Example is a subclass entity with a relationship @OneToOne Element child. ... Build 2.4.0_05 fixes it. You have to set the name field as persistent (by adding a property) in order to get the correct output: ...

 
issue

TYE NullPointerException

I've been seeing the following stack trace in a couple of tests today: ... another situation that may cause it - using a collection field of an entity object that has been garbage collected. If this is the case ...

 
api-jdo

javax.jdo.JDOUserException

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