About reflection

forum_thread

Connection is closed Caused by: java.io.EOFException

I am getting this exception on a regular basis, after a period of time of repeating the same code execution.  I don't understand why.  I restart the DB server and my code works again for another period of time until same exception is encountered again.  I cannot pin down a pattern e.g. after a certain period of time,  because the time  periods between exceptions are not regular, although frequent.  Any test case  I use will pass most of the time but will fail after an undetermined period. ... > <enhancement agent = "false" reflection = "warning" /> <cache ref = "weak" ...

 
manual

JPA Primary Key

Explains how to define and use primary keys in JPA, including composite and embedded primary keys. Every entity object that is stored in the database has a primary key. Once assigned, the primary key cannot be modified. It represents the entity object as long as it exists in the database. As an object database, ObjectDB supports implicit o ...

 
issue

Issue with cascade delete & add/remove

Hi, Please see the attached sample project (important: classes need to be enhanced as done in the pom.xml file). ... indicated, the behavior when using enhancement and using reflection is different. This is the result of different implementation of the ...

 
forum_thread

JVM crash when using IBM JDK 1.6.0

The FAQ states in the system requirements only that a JDK/JRE 1.5 or 1.6(prefered) is required. When I try to use the IBM JDK 1.6.0 I get a GPF exception while creating the entity manager. Looks like a call to putInt on sun.misc.Unsafe object Does this mean there is a BUG in the IBM JDK or are not all JDK's supported? ... the GPF crash. I have <enhancement agent="true" reflection="error" /> in my objectdb.conf file With the Sun JDK it ...

 
forum_thread

Issue with orphanRemoval and multiple EntityManagers

Hi, We have a problem where our database size grows over time more than expected. We've traced it down to the following issue: ... the problem. Detecting orphan objects in reflection mode. This is fixed now in build 2.3.7_13. Notice that the test ...

 
forum_thread

Degrading performance overtime

hi, We have an application that uses embedded odb database. We have configured odb to start at 50meg chunks and grow at 50 megs a time. as the files become larger between 1 and 2 gigs we start to see considerable degrade in performance caused internal objectdb locking: ... > <enhancement agent = "false" reflection = "warning" /> <cache ref = "weak" ...

 
page

ObjectDB Object Database Features

ObjectDB provides a rich set of features, many of them as the result of supporting the JPA and JDO APIs.... Boosts performance by avoiding reflection and by using smart tracking. Non enhanced classes are also supported (by using reflection). On the fly enhancement by ...

 
release

2.4.1

... Fixed a bug in detecting orphan entities in reflection mode. Fixed a bug in listing inherited persistent ...

 
forum_thread

Possible issue with LAZY Loading

Hi, We need lazy loading for one of our large data sets. When I run currently against both 2.4.2 and 2.4.3_01 the db is always returning everything, including the data marked as Fetch.LAZY.  I wrote the attached unit test, and then found this: http://www.objectdb.com/database/forum/9 As far as I can tell, my unit test is pretty much identical. Not sure why this doesn't work. Thanks Paul. ... of the hint. This happens, for example, when ObjectDB uses reflection mode (classes are not enhanced). In your example, the ...

 
manual

CRUD Database Operations with JPA

Shows how to use Java/JPA to store, retrieve, update & delete. Given an EntityManager javax.persistence.EntityManager JPA interface Interface used to interact with the persistence context. See JavaDoc Reference Page... , em , that represents a JPA connection to the object dat ...