ObjectDB Database Search
51-100 of 200 resultsjavax.persistence.TypedQuery () Execute an update or delete statement. Return: the number of entities updated or deleted Throws ... () 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 Inherited from: Query | |
javax.persistence.StoredProcedureQuery query Inherited from: Query Since: JPA 2.0 int getMaxResults () The maximum number of results ... to the query object. Return: maximum number of results Inherited from: Query Since: JPA 2.0 Object ... , numbered from 0 Return: the same query instance Throws: IllegalArgumentException - if the argument | |
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 | |
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.AssociationOverride.class) List phoneNumbers; } @Entity public class PhoneNumber { @Id int number ; @ManyToMany(mappedBy | |
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.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 | |
javax.persistence.SequenceGenerator sequence numbers from the sequence. Since: JPA 1.0 String catalog default "" (Optional) The catalog | |
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.TableGenerator 50 (Optional) The amount to increment by when allocating id numbers from the generator. Since: JPA 1 | |
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 | |
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 | |
CriteriaBuilder.gt(x,y) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate gt ( Expression x, Number y ) Create a predicate for testing whether the first argument is greater than the second. Parameters: x - expression y - value Return: greater-than predicate Since: JPA 2.0 | |
CriteriaBuilder.ge(x,y) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate ge ( Expression x, Number y ) Create a predicate for testing whether the first argument is greater than or equal to the second. Parameters: x - expression y - value Return: greater-than-or-equal predicate Since: JPA 2.0 | |
CriteriaBuilder.lt(x,y) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate lt ( Expression x, Number y ) Create a predicate for testing whether the first argument is less than the second. Parameters: x - expression y - value Return: less-than predicate Since: JPA 2.0 | |
CriteriaBuilder.le(x,y) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate le ( Expression x, Number y ) Create a predicate for testing whether the first argument is less than or equal to the second. Parameters: x - expression y - value Return: less-than-or-equal predicate Since: JPA 2.0 | |
CriteriaBuilder.quot(x,y) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder Expression quot ( Expression x, Number y ) Create an expression that returns the quotient of its arguments. Parameters: x - expression y - value Return: quotient Since: JPA 2.0 | |
CriteriaBuilder.quot(x,y) - JPA Method JPA Method in javax.persistence.criteria.CriteriaBuilder Expression quot ( Number x, Expression y ) Create an expression that returns the quotient of its arguments. Parameters: x - value y - expression Return: quotient Since: JPA 2.0 | |
javax.jdo.Query that pass the filter. Returns the number of instances of the candidate class that were deleted, specifically not including the number of dependent and embedded instances. Dirty instances of affected ... the datastore. Return: the number of instances of the candidate class that were deleted Since: JDO 2.0 | |
javax.jdo.spi.PersistenceCapable: other - the PC instance from which field values are to be copied fieldNumbers - the field numbers to be copied ... specified: Number or Character : the parameter must be the single field type or the wrapper class ... identified by number . Parameters: fieldNumber - the field whose value is to be replaced by a callback | |
Query.deletePersistentAll() - JDO Method of the candidate class that pass the filter. Returns the number of instances of the candidate class that were deleted, specifically not including the number of dependent and embedded instances. Dirty instances ... whether they were deleted from the datastore. Return: the number of instances of the candidate class that were deleted Since: JDO 2.0 | |
javax.jdo.FetchPlan that number of references from the initial object to be fetched. Parameters: fetchDepth - the depth | |
FetchPlan.setMaxFetchDepth(fetchDepth) - JDO Method that number of references from the initial object to be fetched. Parameters: fetchDepth - the depth Return: the FetchPlan Since: JDO 2.0 | |
Query.deletePersistentAll(parameters) - JDO Method JDO Method in javax.jdo.Query long deletePersistentAll ( Object... parameters ) Deletes all the instances of the candidate class that pass the filter. Parameters: parameters - for the query Return: the number of instances of the candidate class that were deleted See Also: deletePersistentAll () Since: JDO 2.0 | |
Query.deletePersistentAll(parameters) - JDO Method JDO Method in javax.jdo.Query long deletePersistentAll ( Map parameters ) Deletes all the instances of the candidate class that pass the filter. Parameters: parameters - for the query Return: the number of instances of the candidate class that were deleted See Also: deletePersistentAll () Since: JDO 2.0 | |
javax.jdo.annotations.FetchPlan in this fetch plan. Since: JDO 2.1 int fetchSize default 0 The number of instances of multi-valued | |
javax.jdo.annotations.FetchPlan.fetchSize JDO Annotation Attribute in javax.jdo.annotations.FetchPlan int fetchSize default 0 The number of instances of multi-valued fields retrieved by queries. Since: JDO 2.1 | |
javax.jdo.annotations.VersionStrategy JDO Enum VersionStrategy java.lang.Object ∟ java.lang.Enum ∟ javax.jdo.annotations.VersionStrategy Enumeration of the version strategy values. Since: JDO 2.1 Enum Constants DATE_TIME Since: JDO 2.1 NONE Since: JDO 2.1 STATE_IMAGE Since: JDO 2.1 UNSPECIFIED Since: JDO 2.1 VERSION_ NUMBER | |
javax.jdo.datastore.Sequence of obtaining additional sequence value objects. Parameters: additional - the number of additional values | |
Sequence.allocate(additional) - JDO Method: additional - the number of additional values to allocate Since: JDO 2.0 | |
javax.jdo.spi.JDOImplHelper is of one of the following types, the behavior must be as specified: Number or Character : the parameter | |
JDOImplHelper.newObjectIdInstance(pcClass,obj) - JDO Method, if the parameter is of one of the following types, the behavior must be as specified: Number or Character | |
PersistenceCapable.jdoReplaceField(fieldNumber) - JDO Method JDO Method in javax.jdo.spi.PersistenceCapable void jdoReplaceField ( int fieldNumber ) The owning StateManager uses this method to ask the instance to replace the value of the single field identified by number . Parameters: fieldNumber - the field whose value is to be replaced by | |
PersistenceCapable.jdoReplaceFields(fieldNumbers) - JDO Method JDO Method in javax.jdo.spi.PersistenceCapable void jdoReplaceFields ( int[] fieldNumbers ) The owning StateManager uses this method to ask the instance to replace the values of the multiple fields identified by number . Parameters: fieldNumbers - the fields whose values | |
PersistenceCapable.jdoCopyFields(other,fieldNumbers) - JDO Method are to be copied fieldNumbers - the field numbers to be copied into this instance Since: JDO 1.0 | |
PersistenceCapable.jdoNewObjectIdInstance(o) - JDO Method must be as specified: Number or Character : the parameter must be the single field type or | |
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 | |
StateManager.getBooleanField(pc,field,currentValue) - JDO Method number currentValue - the current value of the field Return: the new value for the field Since: JDO 1.0 | |
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 | |
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.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.getIntField(pc,field,currentValue) - JDO Method JDO Method in javax.jdo.spi.StateManager int getIntField ( PersistenceCapable pc, int field, int 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.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.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.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.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.setBooleanField(pc,field,currentValue,newValue) - JDO Method PersistenceCapable instance field - the field number currentValue - the current value of the field | |
StateManager.setCharField(pc,field,currentValue,newValue) - JDO Method PersistenceCapable instance field - the field number currentValue - the current value of the field newValue - the proposed new value of the field Since: JDO 1.0 |