Home » Search

About object

91-100 of 200Refresh
Issue
11

New entity objects are duplicated on merge cascading

When merge is cascaded to a new entity object that has not been persisted ... managed ..." exception, when the duplicated object is referenced from another new / dirty entity object by a reference with cascading persist disabled. The following test case demonstrates
Forum
11

ObjectDB 2.6.9_06 (embedded): Cascading merge resulting in duplicate objects

this class. If I load a NaturalPerson entity from the database, then add a new address to the object's "addresses" list and use EntityManager.merge(object) to persist it along with the new address ... "EntityManager.persist(object)" instead, only one Address entity is created (as expected). Am I
Forum
11

Removing objects where ManyToMany relationships exist

It is application responsibility to prevent broken references. When an OtherEntity object is deleted ... you for your answer and help. Two short follow-up questions: You write that trying to access a removed object ... well enough, even if there's millions of Entity and OtherEntity objects in the database, and ten-thousands
Forum
11

selecting objects that have a particular key/value in persistant HashMap

, String> called 'pMap' as a persistable field.  I am able to create Person objects and persist them as ... that the pMap field of some Person objects has the key/value pair "location'/'California'.  Can I create a JPA query that selects such objects?  Something like the following (but clearly does not work
Forum
10

A few questions on object database design

there are advantages and disadvantages in each method. In many cases using embedded objects improves performance ... , if the entity object becomes too big and it includes a lot of data that is not always needed
Forum
10

Adding multi part path index on non-embedable object member

Is there a way to add single member index on members of a object member which is not configured embedable but is/are mapped by id like the two members below.  @Entity public class Customer ... { ... } There is a documentation says it works on embedded objects only. So since it reference
Issue
10

Error reading UTF string (Serialized Objects in Explorer)

objects in the Explorer but no exception is thrown - only the serialized fields display an error message ... fixes the Explorer only, right? If you have a problem in retrieval of this entity object also in
Forum
10

finding post-persist pre-commit objects

Hi, I'm wondering if there is a way to have post-persisted, pre-committed, objects show up in queries? ie: the object has been persisted, but not yet committed. Dave   Yes, by setting the flush mode. thanks, worked for me.   dmoshal
Forum
10

JPA CriteriaQuery -- Iterate Expression<List<Object>>

Hi, I am new to  JPA and in particular the CriteriaQuery API. I have a simple CriteriaQuery where I pattern match a simple search String against field entires in a Person entity... i.e. the searchString is always decorated with %searchString%.  The Person object can contain many Record objects. I
Issue
10

not possible to add an existing object to an array via explorer

when trying to add an existing object via context menu/add existing object an entering the id the attached message appears (see attachment): objectdb.java.util.ArrayList cannot be cast to java.util.Map Thank you for your report. Build 2.7.1_02 should fix this exception. hgzwicker