About enhancement

issue

Internal exception

Hello. We got the following stacktrace. Can you explain me what this internal exception means and why it was thrown? It only happens when the entities are enhanced. Best regards BTC ES   Bug Version: 2.7.1 Priority: Critical Status: Closed Replies: 3 Type:  Bug ...

 
forum_thread

JDO support vs JPA

Hi, I am about to update the JDO metadata in the package.jdo files after moving from ObjectDB 1 to 2. However I found that there is no complete description or guide how the XML metadata should look in version 2. I found only small fragments of attributes in the description of JDO Annotations (to which XML element is the given annotation equivalent). So my questions to this are: 1. Is there some description of XML metadata for ObjectDB ver2 using JDO which I did not find? #1 2014-07-06 15:53 Hi, I am about to update the JDO metadata in the package.jdo files after moving from ObjectDB 1 to 2. How ...

 
manual

ObjectDB Developer's Guide

Welcome to ObjectDB for Java/JPA Developer's Guide. Here you can learn how to develop database applications using ObjectDB and JPA (Java Persistence API). The main purpose of this guide is to make you productive with ObjectDB and JPA in a ...

 
api-jdo

jdoPreClear()

Called before the values in the instance are cleared.(Method of javax.jdo.listener.ClearCallback)

 
forum_thread

Bidirectional OneToMany is slow on updated items

Hello, I have a problem with the following situation. I insert persons with addresses. In the first run, they are all new with a new address. It runs fast. In the second run, the persons are all loaded and got a second address. This seams to be much slower. The Entities are all enhanced by the javaagent (which you can see in the contained eclipse launch configuration) Is there any way to speed it up?       #1 2013-02-22 10:02 Hello, I have a problem with the following situation. I insert persons with addresses. In the fir ...

 
api-jdo

PersistenceCapable.CHECK_WRITE

If jdoFieldFlags for a field includes CHECK_WRITE, then the field has been enhanced to call the jdoStateManager on write if the jdoFlags setting is not READ_WRITE_OK;.(Static Field of javax.jdo.spi.PersistenceCapable)

 
forum_thread

package.jdo validation error (Connection timed out)

HI, I am trying to read the odb file generated using objectdb 1.0. Using converter.jar, i converered to new objectDB file and then was trying to read the file and i got the following exception. com.objectdb.o._JdoUserException: Failed to validate xml file <somePath>\RTDLogger.jar#package.jdo: Connection timed out: connect NestedThrowables: java.net.ConnectException: Connection timed out: connect #1 2012-05-21 15:37 HI, I am trying to read the odb file generated using objectdb 1.0. Using converter.jar, i converered to n ...

 
api-jdo

jdoNewObjectIdInstance()

Create a new instance of the ObjectId class for this PersistenceCapable class and initialize the key fields from the instance on which this method is called.(Method of javax.jdo.spi.PersistenceCapable)

 
issue

Mapped by fields are not initialized by JOIN FETCH in queries

As demonstrated in this forum thread, a mapped by collection field with lazy fetch mode is not initialized in results of a query that uses JOIN FETCH on that collection field (when enhancement is used). ... query that uses JOIN FETCH on that collection field (when enhancement is used). ObjectDB Support ObjectDB - ...

 
issue

Sometimes the ObjectDB throws an internal expeption if a find() was executed

Sometimes the ObjectDB throws an internal exception if a find() was executed. It is a sporadic issue that occurs only with Objectdb 2.7.0_b2 and only if the entites are enhanced. (We don't enabled the new property "objectdb.temp.extended-ref-retrieval" from http://www.objectdb.com/database/forum/1161) With the previous version (2.7.0_b1) we don't get the exceptions. Two stack traces we observed: Bug Version: Priority: Critical Status: Fixed Replies: 1 Type:  Bug ...