ObjectDB Database Search

51-100 of 200 results

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

javax.persistence.Column.length

JPA Annotation Attribute in javax.persistence.Column int length default 255 (Optional) The column length. (Applies only if a string-valued column is used.) Since: JPA 1.0

javax.persistence.Column.precision

JPA Annotation Attribute in javax.persistence.Column int precision default 0 (Optional) The precision for a decimal (exact numeric) column. (Applies only if a decimal column is used.) Value must be set by developer if used when generating the DDL for the column. Since: JPA 1.0

javax.persistence.Column.scale

JPA Annotation Attribute in javax.persistence.Column int scale default 0 (Optional) The scale for a decimal (exact numeric) column. (Applies only if a decimal column is used.) Since: JPA 1.0

javax.persistence.DiscriminatorColumn

to use as a class discriminator. Defaults to DiscriminatorType.STRING . Since: JPA 1.0 int length default

javax.persistence.DiscriminatorColumn.length

JPA Annotation Attribute in javax.persistence.DiscriminatorColumn int length default 31 (Optional) The column length for String-based discriminator types. Ignored for other discriminator types. Since: JPA 1.0

javax.persistence.MapKeyColumn.length

JPA Annotation Attribute in javax.persistence.MapKeyColumn int length default 255 (Optional) The column length. (Applies only if a string-valued column is used.) Since: JPA 2.0

javax.persistence.MapKeyColumn.precision

JPA Annotation Attribute in javax.persistence.MapKeyColumn int precision default 0 (Optional) The precision for a decimal (exact numeric) column. (Applies only if a decimal column is used.) Default: 0. (The value must be set by the developer.) Since: JPA 2.0

javax.persistence.MapKeyColumn.scale

JPA Annotation Attribute in javax.persistence.MapKeyColumn int scale default 0 (Optional) The scale for a decimal (exact numeric) column. (Applies only if a decimal column is used.) Since: JPA 2.0

Query.executeUpdate() - JPA Method

JPA Method in javax.persistence.Query int executeUpdate () Execute an update or delete statement. Return: the number of entities updated or deleted Throws: IllegalStateException - if called for a Java Persistence query language SELECT statement or for a criteria query TransactionRequiredException

Query.setMaxResults(maxResult) - JPA Method

JPA Method in javax.persistence.Query Query setMaxResults (    int  maxResult ) Set the maximum number of results to retrieve. Parameters: maxResult - maximum number of results to retrieve Return: the same query instance Throws: IllegalArgumentException - if the argument is negative Since: JPA 1.0

Query.getMaxResults() - JPA Method

JPA Method in javax.persistence.Query int getMaxResults () The maximum number of results the query object was set to retrieve. Returns Integer.MAX_VALUE if setMaxResults was not applied to the query object. Return: maximum number of results Since: JPA 2.0

Query.setFirstResult(startPosition) - JPA Method

JPA Method in javax.persistence.Query Query setFirstResult (    int  startPosition ) Set the position of the first result to retrieve. Parameters: startPosition - position of the first result, numbered from 0 Return: the same query instance Throws: IllegalArgumentException - if the argument is negative Since: JPA 1.0

Query.getFirstResult() - JPA Method

JPA Method in javax.persistence.Query int getFirstResult () The position of the first result the query object was set to retrieve. Returns 0 if setFirstResult was not applied to the query object. Return: position of the first result Since: JPA 2.0 The Running JPA Queries article explains how to use getFirstResult .

Query.setParameter(position,value) - JPA Method

JPA Method in javax.persistence.Query Query setParameter (    int  position,    Object value ) Bind an argument value to a positional parameter. Parameters: position - position value - parameter value Return: the same query instance Throws: IllegalArgumentException

Query.setParameter(position,value,temporalType) - JPA Method

JPA Method in javax.persistence.Query Query setParameter (    int  position,    Calendar value,     TemporalType  temporalType ) Bind an instance of java.util.Calendar to a positional parameter. Parameters: position - position value - parameter

Query.setParameter(position,value,temporalType) - JPA Method

JPA Method in javax.persistence.Query Query setParameter (    int  position,    Date value,     TemporalType  temporalType ) Bind an instance of java.util.Date to a positional parameter. Parameters: position - position value - parameter value

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.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.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.persistence.SequenceGenerator.initialValue

JPA Annotation Attribute in javax.persistence.SequenceGenerator int initialValue default 1 (Optional) The value from which the sequence object is to start generating. Since: JPA 1.0

javax.persistence.SequenceGenerator.allocationSize

JPA Annotation Attribute in javax.persistence.SequenceGenerator int allocationSize default 50 (Optional) The amount to increment by when allocating sequence numbers from the sequence. Since: JPA 1.0

StoredProcedureQuery.setParameter(position,value) - JPA Method

JPA Method in javax.persistence.StoredProcedureQuery StoredProcedureQuery setParameter (    int  position,    Object value ) Bind an argument value to a positional parameter. Parameters: position - position value - parameter value Return: the same query instance

StoredProcedureQuery.setParameter(position,value,temporalType) - JPA Method

JPA Method in javax.persistence.StoredProcedureQuery StoredProcedureQuery setParameter (    int  position,    Calendar value,     TemporalType  temporalType ) Bind an instance of java.util.Calendar to a positional parameter. Parameters: position

StoredProcedureQuery.setParameter(position,value,temporalType) - JPA Method

JPA Method in javax.persistence.StoredProcedureQuery StoredProcedureQuery setParameter (    int  position,    Date value,     TemporalType  temporalType ) Bind an instance of java.util.Date to a positional parameter. Parameters: position

StoredProcedureQuery.registerStoredProcedureParameter(position,type,mode) - JPA Method

JPA Method in javax.persistence.StoredProcedureQuery StoredProcedureQuery registerStoredProcedureParameter (    int  position,    Class type,     ParameterMode  mode ) Register a positional parameter. All parameters must be registered

StoredProcedureQuery.getOutputParameterValue(position) - JPA Method

JPA Method in javax.persistence.StoredProcedureQuery Object getOutputParameterValue (    int  position ) Retrieve a value passed back from the procedure through an INOUT or OUT parameter. For portability, all results corresponding to result sets and update counts must be retrieved

StoredProcedureQuery.executeUpdate() - JPA Method

JPA Method in javax.persistence.StoredProcedureQuery int executeUpdate () Return the update count of -1 if there is no pending result or if the first result is not an update count. The provider will call execute on the query if needed. Return: the update count or -1 if there is no pending result

StoredProcedureQuery.getUpdateCount() - JPA Method

JPA Method in javax.persistence.StoredProcedureQuery int getUpdateCount () Return the update count or -1 if there is no pending result or if the next result is not an update count. Return: update count or -1 if there is no pending result or if the next result is not an update count Throws

javax.persistence.TableGenerator.initialValue

JPA Annotation Attribute in javax.persistence.TableGenerator int initialValue default 0 (Optional) The initial value to be used to initialize the column that stores the last value generated. Since: JPA 1.0

javax.persistence.TableGenerator.allocationSize

JPA Annotation Attribute in javax.persistence.TableGenerator int allocationSize default 50 (Optional) The amount to increment by when allocating id numbers from the generator. Since: JPA 1.0

javax.persistence.Transient

JPA Annotation Transient Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies that the property or field is not persistent. It is used to annotate a property or field of an entity class, mapped superclass, or embeddable class. Example: @Entity public class Employee { @Id int id

Tuple.get(i,type) - JPA Method

JPA Method in javax.persistence.Tuple X get (    int  i,    Class  type ) Get the value of the element at the specified position in the result tuple. The first position is 0. Parameters: i - position in result tuple type - type of the tuple element Return: value

Tuple.get(i) - JPA Method

JPA Method in javax.persistence.Tuple Object get (    int  i ) Get the value of the element at the specified position in the result tuple. The first position is 0. Parameters: i - position in result tuple Return: value of the tuple element Throws: IllegalArgumentException - if i exceeds length of result tuple Since: JPA 2.0

TypedQuery.setMaxResults(maxResult) - JPA Method

JPA Method in javax.persistence.TypedQuery TypedQuery setMaxResults (    int  maxResult ) Set the maximum number of results to retrieve. Parameters: maxResult - maximum number of results to retrieve Return: the same query instance Throws: IllegalArgumentException - if the argument is negative Since: JPA 2.0

TypedQuery.setFirstResult(startPosition) - JPA Method

JPA Method in javax.persistence.TypedQuery TypedQuery setFirstResult (    int  startPosition ) Set the position of the first result to retrieve. Parameters: startPosition - position of the first result, numbered from 0 Return: the same query instance Throws: IllegalArgumentException - if the argument is negative Since: JPA 2.0

TypedQuery.setParameter(position,value) - JPA Method

JPA Method in javax.persistence.TypedQuery TypedQuery setParameter (    int  position,    Object value ) Bind an argument value to a positional parameter. Parameters: position - position value - parameter value Return: the same query instance Throws

TypedQuery.setParameter(position,value,temporalType) - JPA Method

JPA Method in javax.persistence.TypedQuery TypedQuery setParameter (    int  position,    Calendar value,     TemporalType  temporalType ) Bind an instance of java.util.Calendar to a positional parameter. Parameters: position - position value

TypedQuery.setParameter(position,value,temporalType) - JPA Method

JPA Method in javax.persistence.TypedQuery TypedQuery setParameter (    int  position,    Date value,     TemporalType  temporalType ) Bind an instance of java.util.Date to a positional parameter. Parameters: position - position value

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.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.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.identity.LongIdentity

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

javax.jdo.identity.ObjectIdentity

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

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

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

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

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

StateManager.replacingIntField(pc,field) - JDO Method

JDO Method in javax.jdo.spi.StateManager int replacingIntField (   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