About attribute

forum_thread

PostUpdate collection null

Hello, I have an entity MyEntity with a collection attribute myCollection. I have an EntityListener on MyEntity with a @PostUpdate method. When I try to access myCollection from the PostUpdate method, this collection is null. If I try to access the collection from the PreUpdate method, the collection is populated. The collection is eagerly fetched. public class MyEntity {     @OneToMany(fetch=FetchType.EAGER)     private ArrayList<OtherEntity> myCollection = new ArrayList<OtherEntity>(); ... Hello, I have an entity MyEntity with a collection attribute myCollection. I have an EntityListener on MyEntity with a @PostUpdate ...

 
forum_thread

Apparent Lazy Loading issues.

Hi, Thanks for the quick investigation. That has indeed fixed that issue. However there appear to be two more. ... purposes of continuing, I have set my "equals" method in attribute name to look only at the database id. Second issue. The docs ...

 
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. ObjectDB provides a rich set of features. Many features are implemented as part of ObjectDB's support of the JPA JPA Reference (JavaDoc) Java/JPA API Reference (based on the JPA 3 JavaDoc) See JavaDoc Reference Page... an ...

 
api-jpa

join(set, jt)

Create a join to the specified Set-valued attribute using the given join type.(Method of javax.persistence.criteria.From)

 
api-jdo

Constants.PROPERTY_ATTRIBUTE_NAME

The name of the persistence manager factory property element's "name" attribute.(Static Field of javax.jdo.Constants)

 
api-jdo

Constants.PMF_ATTRIBUTE_COPY_ON_ATTACH

The name of the persistence manager factory element's "copy-on-attach" attribute.(Static Field of javax.jdo.Constants)

 
api-jpa

Bindable.BindableType.PLURAL_ATTRIBUTE

Multi-valued attribute type(Enum Constant of javax.persistence.metamodel.Bindable.BindableType)

 
api-jdo

Constants.PMF_ATTRIBUTE_NONTRANSACTIONAL_WRITE

The name of the persistence manager factory element's "nontransactional-write" attribute.(Static Field of javax.jdo.Constants)

 
api-jpa

find(entityClass, primaryKey, lockMode)

Find by primary key and lock.(Method of javax.persistence.EntityManager)

 
forum_thread

Exception when querying Map property with @embedded & Enhancer enabled

Hi, I have the following test class that is failing when the enhancer is enabled, resulting in the error 'Failed to write the value of field field TestEmbeddableMap$MyAttributeItem.id using enhanced method.', if I disable the enhancement the test works as expected, and returns the expected MyEntity2 Thanks   #1 2015-11-24 08:48 Hi, I have the following test class that is failing when the enhancer is enabled, resulting in the error ...