About Enhancer

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? ... usage of JDO annotation and XML metadata working or the enhancer takes exclusively either this or that ? 3. I found there is ...

 
forum_thread

List of Enum Values in an entity

Hello, I'm new with ObjectDB and just tried out the example in the Eclipse/Glassfish tutorial (http://www.objectdb.com/tutorial/jpa/eclipse/ee). After testing was successful, I extended the Guest class with an ArrayList of Enums: private ArrayList<GuestFlag> flags; The flags are stored into the database without any problem. In the explorer I can see that it is stored as array of Strings. #1 2013-11-07 14:16 Hello, I'm new with ObjectDB and just tried out the example in the Eclipse/Glassfish tutorial ( http ...

 
manual

FROM clause (JPQL / Criteria API)

Explains how to use the FROM clause and JOIN expressions in a JPA/JPQL query. The FROM clause declares query identification variables that represent iteration over objects in the database. A query identification variable is similar to a variable of a Java enhanced for loop in a program, since both are used for iteration over o ...

 
forum_thread

ObjectDB version 2.3 has been released

ObjectDB 2.3 has been released and it includes important additions and fixes: ... database url parameter. Adjusted the Enhancer to the new Java 7 class file format. Improved error ...

 
api-jdo

jdoPreStore()

Called before the values are stored from this instance to the data store.(Method of javax.jdo.listener.StoreCallback)

 
api-jdo

javax.jdo.listener.ClearCallback

This interface is used to notify instances of clear events.(Interface of JDO)

 
api-jdo

PersistenceCapable.CHECK_READ

If jdoFieldFlags for a field includes CHECK_READ, then the field has been enhanced to call the jdoStateManager on read if the jdoFlags setting is not READ_OK or 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

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 ...