Home » Search

About reference

1-10 of 200 Refresh
JPA Doc
217

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
214

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
70

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
33

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
30

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
Forum
27

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

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
23

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
23

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
Forum
22

Broken @ManyToOne reference

and persisted: a Parent and a Child, the Child instance references the Parent instance in the prn ... is retrieved. Now it has null in the prn field. The output shall look like: Parent reference written: testobjectdb.Parent@e425743 Parent reference read back: null Regards, Vladimir The model in the test