Home » Search

About reference

21-30 of 200Refresh
Issue
19

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
Issue
19

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
19

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
19

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
19

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
19

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
19

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
Manual
17

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
Manual
14

JPA Primary Key

. Reference to an entity object. Composite Primary Key A composite primary key consist of multiple ... , such a primary key requires more storage space (especially if there are many references to Event objects in the database because references to entities hold primary key values) and is less efficient in store