Internal Website Search

51-100 of 200 results

javax.persistence.ManyToOne

getCustomer() { return customer; } Example 2: @Entity public class Employee { @Id int id; @Embedded JobInfo ... ; // Bidirectional } @Entity public class ProgramManager { @Id int id; @OneToMany(mappedBy="jobInfo

javax.persistence.SequenceGenerator

Attributes int allocationSize default 50 (Optional) The amount to increment by when allocating ... of the sequence generator. Since: JPA 2.0 int initialValue default 1 (Optional) The value from

javax.persistence.Tuple

correspond to an element in the query result tuple Since: JPA 2.0 Object get ( int  i) Get the value ... - if i exceeds length of result tuple Since: JPA 2.0 X get ( int  i, Class  type

javax.persistence.Version

other than the primary table will not be portable. The following types are supported for version properties: int ... ") protected int getVersionNum() { return versionNum; } Since: JPA 1.0 The JPA Entity Fields article

CriteriaBuilder.substring(x,from,len) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Expression substring (    Expression  x,     int  from,     int  len ) Create an expression for substring extraction. Extracts a substring of given length starting at the specified position

Query.getParameter(position,type) - JPA Method

JPA Method in javax.persistence.Query Parameter getParameter (    int  position,    Class  type ) Get the parameter object corresponding to the declared positional parameter with the given position and type. This method is not required to be supported by

Query.getParameter(position) - JPA Method

JPA Method in javax.persistence.Query Parameter getParameter (    int  position ) Get the parameter object corresponding to the declared positional parameter with the given position. This method is not required to be supported for native queries. Parameters: position - position Return

Query.getParameterValue(position) - JPA Method

JPA Method in javax.persistence.Query Object getParameterValue (    int  position ) Return the input value bound to the positional parameter. (Note that OUT parameters are unbound.) Parameters: position - position Return: parameter value Throws: IllegalStateException

javax.jdo.identity.ByteIdentity

- the target class key - the key Since: JDO 1.0 Public Methods int compareTo (Object o ... . Return: the target class name. Inherited from: SingleFieldIdentity Since: JDO 2.0 int hashCode

javax.jdo.identity.CharIdentity

.0 Public Methods int compareTo (Object o) Determine the ordering of identity objects ... from: SingleFieldIdentity Since: JDO 2.0 int hashCode () Return the cached hash code. Return

javax.jdo.annotations.Column

"" JDBC Type for this column. Since: JDO 2.1 int length default -1 Maximum length of data stored in this column. Since: JDO 2.1 String name default "" Name of the column. Since: JDO 2.1 int scale

javax.jdo.spi.JDOImplHelper

for each key field in the ObjectId. For example, an ObjectId class that has three key fields ( int id ... that has three key fields ( int id , String name , and Float salary ) would have the method generated

javax.jdo.annotations.FetchPlan

in this fetch plan. Since: JDO 2.1 int fetchSize default 0 The number of instances of multi-valued fields retrieved by queries. Since: JDO 2.1 int maxFetchDepth default 1 The depth of references

javax.jdo.identity.ShortIdentity

- the class key - the key Since: JDO 1.0 Public Methods int compareTo (Object o) Determine ... : the target class name. Inherited from: SingleFieldIdentity Since: JDO 2.0 int hashCode () Return

javax.jdo.identity.StringIdentity

: pcClass - the class key - the key Since: JDO 1.0 Public Methods int compareTo (Object o) Determine ... . Return: the target class name. Inherited from: SingleFieldIdentity Since: JDO 2.0 int hashCode

JDOImplHelper.copyKeyFieldsFromObjectId(pcClass,fm,oid) - JDO Method

in the ObjectId. For example, an ObjectId class that has three key fields ( int id , String name

JDOImplHelper.copyKeyFieldsToObjectId(pcClass,fm,oid) - JDO Method

the ObjectId. For example, an ObjectId class that has three key fields ( int id , String name

javax.jdo.annotations.Persistent.recursionDepth

JDO Annotation Attribute in javax.jdo.annotations.Persistent int recursionDepth default 1 Recursion depth for this member. Used only when the annotation is used within the definition of a FetchGroup. Since: JDO 2.1

javax.jdo.annotations.Persistent

a separate annotation on the member. Since: JDO 2.1 int recursionDepth default 1 Recursion depth

StateManager.replacingObjectField(pc,field) - JDO Method

JDO Method in javax.jdo.spi.StateManager Object replacingObjectField (   PersistenceCapable pc,     int  field ) The replacement value of the field in the calling instance. Parameters: pc - the calling PersistenceCapable instance field - the field number Return: the new value for the field Since: JDO 1.0

StateManager.replacingStringField(pc,field) - JDO Method

JDO Method in javax.jdo.spi.StateManager String replacingStringField (   PersistenceCapable pc,     int  field ) The replacement value of the field in the calling instance. Parameters: pc - the calling PersistenceCapable instance field - the field number Return: the new value for the field Since: JDO 1.0

StateManager.providedLongField(pc,field,currentValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void providedLongField (   PersistenceCapable pc,     int  field,    long currentValue ) The value of the field requested to be provided to the StateManager . Parameters: pc - the calling

IntIdentity.compareTo(o) - JDO Method

JDO Method in javax.jdo.identity.IntIdentity int compareTo (   Object o ) Determine the ordering of identity objects. Parameters: o - Other identity Return: The relative ordering between the objects Since: JDO 2.2

StateManager.providedCharField(pc,field,currentValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void providedCharField (   PersistenceCapable pc,     int  field,    char currentValue ) The value of the field requested to be provided to the StateManager . Parameters: pc - the calling

StateManager.providedBooleanField(pc,field,currentValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void providedBooleanField (   PersistenceCapable pc,     int  field,    boolean currentValue ) The value of the field requested to be provided to the StateManager . Parameters: pc - the calling

StateManager.providedShortField(pc,field,currentValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void providedShortField (   PersistenceCapable pc,     int  field,    short currentValue ) The value of the field requested to be provided to the StateManager . Parameters: pc - the calling

StateManager.providedByteField(pc,field,currentValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void providedByteField (   PersistenceCapable pc,     int  field,    byte currentValue ) The value of the field requested to be provided to the StateManager . Parameters: pc - the calling

StateManager.setDoubleField(pc,field,currentValue,newValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void setDoubleField (   PersistenceCapable pc,     int  field,    double currentValue,    double newValue ) Mark the field as modified by the user. Parameters: pc - the calling

StateManager.setFloatField(pc,field,currentValue,newValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void setFloatField (   PersistenceCapable pc,     int  field,    float currentValue,    float newValue ) Mark the field as modified by the user. Parameters: pc - the calling

IntIdentity.getKey() - JDO Method

JDO Method in javax.jdo.identity.IntIdentity int getKey () Return the key. Return: the key Since: JDO 1.0

StateManager.setObjectField(pc,field,currentValue,newValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void setObjectField (   PersistenceCapable pc,     int  field,    Object currentValue,    Object newValue ) Mark the field as modified by the user. Parameters: pc - the calling

StateManager.setStringField(pc,field,currentValue,newValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void setStringField (   PersistenceCapable pc,     int  field,    String currentValue,    String newValue ) Mark the field as modified by the user. Parameters: pc - the calling

StateManager.setShortField(pc,field,currentValue,newValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void setShortField (   PersistenceCapable pc,     int  field,    short currentValue,    short newValue ) Mark the field as modified by the user. Parameters: pc - the calling

StateManager.setByteField(pc,field,currentValue,newValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void setByteField (   PersistenceCapable pc,     int  field,    byte currentValue,    byte newValue ) Mark the field as modified by the user. Parameters: pc - the calling

IntIdentity.IntIdentity(pcClass,key) - JDO Constructor

JDO Constructor in javax.jdo.identity.IntIdentity IntIdentity (   Class pcClass,     int  key ) Constructor with class and key. Parameters: pcClass - the class key - the key Since: JDO 1.0

StateManager.setLongField(pc,field,currentValue,newValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void setLongField (   PersistenceCapable pc,     int  field,    long currentValue,    long newValue ) Mark the field as modified by the user. Parameters: pc - the calling

ObjectIdentity.compareTo(o) - JDO Method

JDO Method in javax.jdo.identity.ObjectIdentity int compareTo (   Object o ) Determine the ordering of identity objects. Parameters: o - Other identity Return: The relative ordering between the objects Since: JDO 2.2

StateManager.replacingLongField(pc,field) - JDO Method

JDO Method in javax.jdo.spi.StateManager long replacingLongField (   PersistenceCapable pc,     int  field ) The replacement value of the field in the calling instance. Parameters: pc - the calling PersistenceCapable instance field - the field number Return: the new value for the field Since: JDO 1.0

StateManager.replacingDoubleField(pc,field) - JDO Method

JDO Method in javax.jdo.spi.StateManager double replacingDoubleField (   PersistenceCapable pc,     int  field ) The replacement value of the field in the calling instance. Parameters: pc - the calling PersistenceCapable instance field - the field number Return: the new value for the field Since: JDO 1.0

StateManager.replacingFloatField(pc,field) - JDO Method

JDO Method in javax.jdo.spi.StateManager float replacingFloatField (   PersistenceCapable pc,     int  field ) The replacement value of the field in the calling instance. Parameters: pc - the calling PersistenceCapable instance field - the field number Return: the new value for the field Since: JDO 1.0

StateManager.replacingShortField(pc,field) - JDO Method

JDO Method in javax.jdo.spi.StateManager short replacingShortField (   PersistenceCapable pc,     int  field ) The replacement value of the field in the calling instance. Parameters: pc - the calling PersistenceCapable instance field - the field number Return: the new value for the field Since: JDO 1.0

LongIdentity.compareTo(o) - JDO Method

JDO Method in javax.jdo.identity.LongIdentity int compareTo (   Object o ) Determine the ordering of identity objects. Parameters: o - Other identity Return: The relative ordering between the objects Since: JDO 2.2

StateManager.replacingCharField(pc,field) - JDO Method

JDO Method in javax.jdo.spi.StateManager char replacingCharField (   PersistenceCapable pc,     int  field ) The replacement value of the field in the calling instance. Parameters: pc - the calling PersistenceCapable instance field - the field number Return: the new value for the field Since: JDO 1.0

StateManager.replacingBooleanField(pc,field) - JDO Method

JDO Method in javax.jdo.spi.StateManager boolean replacingBooleanField (   PersistenceCapable pc,     int  field ) The replacement value of the field in the calling instance. Parameters: pc - the calling PersistenceCapable instance field - the field number Return: the new value for the field Since: JDO 1.0

StateManager.replacingByteField(pc,field) - JDO Method

JDO Method in javax.jdo.spi.StateManager byte replacingByteField (   PersistenceCapable pc,     int  field ) The replacement value of the field in the calling instance. Parameters: pc - the calling PersistenceCapable instance field - the field number Return: the new value for the field Since: JDO 1.0

StateManager.providedDoubleField(pc,field,currentValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void providedDoubleField (   PersistenceCapable pc,     int  field,    double currentValue ) The value of the field requested to be provided to the StateManager . Parameters: pc - the calling

StateManager.providedFloatField(pc,field,currentValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void providedFloatField (   PersistenceCapable pc,     int  field,    float currentValue ) The value of the field requested to be provided to the StateManager . Parameters: pc - the calling

StateManager.providedObjectField(pc,field,currentValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void providedObjectField (   PersistenceCapable pc,     int  field,    Object currentValue ) The value of the field requested to be provided to the StateManager . Parameters: pc - the calling

StateManager.providedStringField(pc,field,currentValue) - JDO Method

JDO Method in javax.jdo.spi.StateManager void providedStringField (   PersistenceCapable pc,     int  field,    String currentValue ) The value of the field requested to be provided to the StateManager . Parameters: pc - the calling

StateManager.isLoaded(pc,field) - JDO Method

JDO Method in javax.jdo.spi.StateManager boolean isLoaded (   PersistenceCapable pc,     int  field ) Return true if the field is cached in the calling instance. Parameters: pc - the calling PersistenceCapable instance field - the field number Return