Home » Search

About reference

21-30 of 200Refresh
Forum
18

find out if an entity is refered by other entities

(reference field), so you may have to use many queries to cover all the possible relationships that may reference that child object. As a permanent solution, if you have to support many different
Issue
18

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

that every Element object (except Project itself) gets a Project reference on construction: INFO ... : javax.ejb.EJBException: Attempt to persist a reference to a non managed com.greensoft.entity.Block
Manual
18

Deleting JPA Entity Objects

that modify the database require an active transaction. Cascading Remove Marking a reference field ... entity class contains an address field that references an instance of Address ... object references, if any). Orphan Removal JPA 2 supports an additional and more aggressive remove
Issue
18

Cascade.ALL with LAZY fetchtype does not clean up all references on remove

Hello, I have a tree of entity classes that reference others using Cascade.ALL in combination with FetchType.LAZY. If I now delete a root entity using EntityManager.remove all leaf nodes will not be deleted. This only applies to the leaf nodes. If I add an additional the behaviour changes
Forum
18

Cascading merge() leading to "Attempt to persist a reference to a non managed instance" error

.UserException: Attempt to persist a reference to a non managed ObjectDbCascadingMergeTest$Parent
Forum
18

Does ObjectDB support @Parent for @Embeddable reference to parent?

also: http://stackoverflow.com/questions/5060891/jpa-how-can-an-embeddable-object-get-a-reference
Forum
18

removed objects stay with null field values in the reference

exist in the database anymore. But you may still have broken references to that object, like links to a web page that doesn't exist. hgzwicker
Issue
18

Deleting a broken reference that was fixed to null in the Explorer

Using version 2.7.4_01, we did a repair. After repair a former link to a missing reference was converted to null. This cannot be deleted using explorer   Thank you for this report. Build 2.7.4_02 fixes the issue. hgzwicker
Manual
16

Working with JPA Entity Objects

during a transaction are held in the persistence context by weak references. Therefore, when a managed ... it and it is automatically removed from the persistence context. ObjectDB can be configured to use strong references or soft references instead of weak references. The contains method can check if a specified entity
Manual
14

Index Definition

, java.sql.Date, java.sql.Time, java.sql.Timestamp. Any enum type. Reference to an entity object ... class Address { String street; String city; : } Indexes must always refer ... of that class (including subclasses). Every key is associated with a list of references