Home » Search

About entity

191-200 of 200Refresh
Forum
9

NPE after an @embedded obj is updated for a detached entity

I have an entity that looks like this: class User {     @embedded private Profile profile;     ... } After running something like this:     User user = entityManager.createQuery("select......     entityManager.detach(user);     user.getProfile().setDescription("Something... I
Issue
9

OutOfMemoryError, if close the entity manager

Hello, why this error occurs during close the entity manager?   Caused by: java.lang.OutOfMemoryError: Java heap space at com.objectdb.o.PageCacheFile.m(PageCacheFile.java:173) ~[na:na] at com.objectdb.o.PAG.N(PAG.java:498) ~[na:na] at com.objectdb.o.PAG.y(PAG.java:282) ~[na:na] at com
Forum
9

Problem of Enhancer with JAXB / Proxified Entity Bean.

Hello Support, I run on a prod server an objectdb java agent with my app. In this application, all my entities beans are constructed from a JAXBContext ( SOAP CXF Webservice or Direct JAXB Unmarshalling ) When i watch the objectdb log, i see pages of errors. Not Enhanced: com/test/MyBean
Issue
9

Collection update does not increase entity version and is not persisted

Hello, I found a bug when adding elements to a collection of Entities: Event { Collection attachments; void addAttachment(Attachment attachment) { this.attachments.add(attachment); } } Attachment { String filename } If I call this method
Forum
9

A few entities loss after update to 2.3.7_08!

A few entities loss after update to 2.3.7_08!
Forum
9

Entity not removed 100%

Entity not removed 100%
Forum
9

How to avoid NULL values on Embedded entities

How to avoid NULL values on Embedded entities
Forum
9

Using your own classes in the entity class?

Using your own classes in the entity class?
JPA Doc
9

javax.persistence.PersistenceUnitUtil

of this interface should only be invoked on entity instances obtained from or managed by entity managers for this persistence unit or on new entity instances. Since: JPA 2.0 Object getIdentifier(Object entity) Return the id of the entity. Return the id of the entity. A generated id is not guaranteed
Manual
8

Setting and Tuning of JPA Queries

uses automatic optimistic locking to prevent concurrent changes to entity objects by multiple users ... "LAZY". When LAZY is used result entity objects are returned as references (with no content). This could be useful when the shared L2 cache is enabled and entity objects may already be available in