Internal Website Search
101-150 of 200 resultsQuery.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.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) - 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.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.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.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.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 | |
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 | |
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.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 | |
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 . | |
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 | |
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.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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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.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.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.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.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 | |
CriteriaBuilder.substring(x,from) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder Expression substring ( Expression x, int from ) Create an expression for substring extraction. Extracts a substring starting at the specified position through to end of the string. First position | |
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.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.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.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 | |
javax.jdo.datastore.Sequence JDO Interface Sequence Implementations of this interface can be used to obtain sequences. The behavior with regard to the transaction and rollover behavior are defined in the metadata. Since: JDO 2.0 Public Methods void allocate ( int additional) Provides a hint to the implementation | |
Sequence.allocate(additional) - JDO Method JDO Method in javax.jdo.datastore.Sequence void allocate ( int additional ) Provides a hint to the implementation that the application will need additional sequence value objects in short order. There is no externally visible behavior of this method. It is used to potentially | |
CharIdentity.compareTo(o) - JDO Method JDO Method in javax.jdo.identity.CharIdentity 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.setCharField(pc,field,currentValue,newValue) - JDO Method JDO Method in javax.jdo.spi.StateManager void setCharField ( PersistenceCapable pc, int field, char currentValue, char newValue ) Mark the field as modified by the user. Parameters: pc - the calling | |
StateManager.getStringField(pc,field,currentValue) - JDO Method JDO Method in javax.jdo.spi.StateManager String getStringField ( PersistenceCapable pc, int field, String currentValue ) Return the value for the field. Parameters: pc - the calling PersistenceCapable instance field - the field number | |
StateManager.getDoubleField(pc,field,currentValue) - JDO Method JDO Method in javax.jdo.spi.StateManager double getDoubleField ( PersistenceCapable pc, int field, double currentValue ) Return the value for the field. Parameters: pc - the calling PersistenceCapable instance field - the field number | |
StateManager.setBooleanField(pc,field,currentValue,newValue) - JDO Method JDO Method in javax.jdo.spi.StateManager void setBooleanField ( PersistenceCapable pc, int field, boolean currentValue, boolean newValue ) Mark the field as modified by the user. Parameters: pc - the calling | |
StateManager.getObjectField(pc,field,currentValue) - JDO Method JDO Method in javax.jdo.spi.StateManager Object getObjectField ( PersistenceCapable pc, int field, Object currentValue ) Return the value for the field. Parameters: pc - the calling PersistenceCapable instance field - the field number | |
StateManager.getShortField(pc,field,currentValue) - JDO Method JDO Method in javax.jdo.spi.StateManager short getShortField ( PersistenceCapable pc, int field, short currentValue ) Return the value for the field. Parameters: pc - the calling PersistenceCapable instance field - the field number | |
StateManager.getFloatField(pc,field,currentValue) - JDO Method JDO Method in javax.jdo.spi.StateManager float getFloatField ( PersistenceCapable pc, int field, float currentValue ) Return the value for the field. Parameters: pc - the calling PersistenceCapable instance field - the field number | |
StateManager.getLongField(pc,field,currentValue) - JDO Method JDO Method in javax.jdo.spi.StateManager long getLongField ( PersistenceCapable pc, int field, long currentValue ) Return the value for the field. Parameters: pc - the calling PersistenceCapable instance field - the field number | |
StateManager.getBooleanField(pc,field,currentValue) - JDO Method JDO Method in 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 | |
ByteIdentity.compareTo(o) - JDO Method JDO Method in javax.jdo.identity.ByteIdentity 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.getByteField(pc,field,currentValue) - JDO Method JDO Method in 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 | |
StateManager.getCharField(pc,field,currentValue) - JDO Method JDO Method in 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 | |
javax.jdo.annotations.Column.length JDO Annotation Attribute in javax.jdo.annotations.Column int length default -1 Maximum length of data stored in this column. Since: JDO 2.1 | |
javax.jdo.annotations.Column.scale JDO Annotation Attribute in javax.jdo.annotations.Column int scale default -1 Scale for the column when handling floating point values. Since: JDO 2.1 | |
FetchGroup.getRecursionDepth(memberName) - JDO Method JDO Method in javax.jdo.FetchGroup int getRecursionDepth ( String memberName ) Get the recursion-depth for this member. Parameters: memberName - the name of the field or property Return: the recursion-depth for this member Throws: JDOUserException - if the member is not in the FetchGroup Since: JDO 2.2 | |
FetchGroup.setRecursionDepth(memberName,recursionDepth) - JDO Method JDO Method in javax.jdo.FetchGroup FetchGroup setRecursionDepth ( String memberName, int recursionDepth ) Set the recursion-depth for this member. The default is 1. A value of 0 means don't fetch the member (as if the member were omitted entirely). A value |