About fields

1-10 of 200Refresh
Manual
130

JPA Entity Fields

Fields of persistable user defined classes (entity classes, embeddable classes and mapped superclasses) can be classified into the following five groups: Transient fields Persistent fields Inverse (Mapped By) fields Primary key (ID) fields Version field The first three groups (transient, persistent
JPA Doc
92

JPA Annotations for Fields

The way a field of a persistable class is managed by JPA can be set by the following annotations: Additional annotations (and enum) are designated for enum fields: Other additional annotations (and enum) are designated for date and calendar fields: Chapter 2 of the ObjectDB manual explains how to use all the above annotations.
JDO Doc
88

JDO Annotations for Fields

The way a field of a persistable class is managed by JDO can be set by the following annotations and enum types:
Manual
41

Chapter 2 - JPA Entity Classes

Explains how to define and use JPA entity classes and other JPA persistable types.
JDO Doc
38

FetchPlan.DETACH_LOAD_FIELDS

Static Field javax.jdo.FetchPlan int DETACH_LOAD_FIELDS For use with PersistenceManager.detachCopy and setDetachmentOptions. Specifies that fields that are not loaded but are in the current fetch plan should be loaded prior to detachment. Since: JDO 2.0
JDO Doc
38

FetchPlan.DETACH_UNLOAD_FIELDS

Static Field javax.jdo.FetchPlan int DETACH_UNLOAD_FIELDS For use with PersistenceManager.detachCopy and setDetachmentOptions. Specifies that fields that are loaded but not in the current fetch plan should be unloaded prior to detachment. Since: JDO 2.0
Manual
29

Index Definition

which fields to define with indexes should be done carefully. Single Field Index JPA does not define ... } @Unique represents a unique index that prevents duplicate values in the indexed field ... field (similar to how primary keys behave). @Index represents either an ordinary index
JDO Doc
29

getBooleanField(pc, field, currentValue)

Method javax.jdo.spi.StateManager boolean getBooleanField(   PersistenceCapable pc,   int field,   boolean currentValue ) Return the value for the field. Parameters: pc - the calling PersistenceCapable instance field - the field number currentValue - the current value of the field Returns: the new value for the field Since: JDO 1.0
JDO Doc
29

getByteField(pc, field, currentValue)

Method javax.jdo.spi.StateManager byte getByteField(   PersistenceCapable pc,   int field,   byte currentValue ) Return the value for the field. Parameters: pc - the calling PersistenceCapable instance field - the field number currentValue - the current value of the field Returns: the new value for the field Since: JDO 1.0
JDO Doc
29

getCharField(pc, field, currentValue)

Method javax.jdo.spi.StateManager char getCharField(   PersistenceCapable pc,   int field,   char currentValue ) Return the value for the field. Parameters: pc - the calling PersistenceCapable instance field - the field number currentValue - the current value of the field Returns: the new value for the field Since: JDO 1.0