Home » Search

About reference

1-10 of 200Refresh
JPA Doc
196

JPA Reference (JavaDoc)

This reference contains the API documentation (similar to JavaDoc) of the Java Persistence API (JPA) 2.0. The content is derived from the original JPA documentation (in the EclipseLink JPA 2 RI ... into the following sections: The purpose of these documentation pages is to serve as a reference. In
JDO Doc
192

JDO Reference (JavaDoc)

This reference contains the API documentation (similar to JavaDoc) of JDO 2.2. The content is derived from the original JDO documentation with some additions and notes. The most basic JDO types are: All the other JDO types are organized into the following sections:
Manual
64

Entity Management Settings

for entities: The ref attribute specifies the reference type for holding non dirty entities in ... ", "soft" and "strong". Modified entities are always held by strong references in the persistence
Manual
31

Database Explorer

navigation. Because every reference between two database objects is represented by a parent-child ... to construct and store the new entity objects. Editing Values and References You can edit simple field ... to edit a multi line string. Reference fields can be edited by using the following commands: The Edit
Manual
29

Retrieving JPA Entity Objects

accessed. The getReference method is useful when a reference to an entity object is required but not its content, such as when a reference to it has to be set from another entity object. Retrieval by Eager ... unacceptable. A persistent reference field can be excluded from this automatic cascaded retrieval by
Manual
25

Storing JPA Entity Objects

an Employee instance with a reference to an Address instance: Employee employee = new Employee ... instance. To avoid a dangling reference in the database, an IllegalStateException is thrown on commit if a persisted entity object has to be stored in the database in a transaction and it references
Forum
24

Soft Reference Object Cache Recommendation

[] and instruct ObjectDB to use soft reference for its Level One (L1) object data cache.  I disable the L2 ... [] and uses a soft reference to make that array eligible for GC when the JVM does a full GC. private ... reference to the byte[] when data needs to be written back to ObjectDB datastore, and a soft reference
Forum
21

Update Entity references if we change the type of an entity

. As example (like in the attached example): We have an EntityA that have a reference to an EntityB ... , because it's possible that many other entities have just a ID based reference with a simple 'int' field to this element. And we thought that also the real references are based on the ID. This step
Forum
20

Handling deleted references

" instances? This would simplify my use case since all I have to do is to check if the reference is null ... other value) should be done in the same transaction, to avoid a reference from User to a deleted Profile ... where we cannot check for further references (e.g. if the same Profile instance is used twice in 2 different
Manual
20

Detached Entity Objects

object. Cascading Detach Marking a reference field with CascadeType.DETACH (or CascadeType ... that references an instance of Address, which is another entity class. Due to the CascadeType.DETACH ... when applicable (e.g. to entity objects that the Address object references, if any). Bulk Detach