About long

41-50 of 200Refresh
JPA Doc
6

javax.persistence.criteria.CriteriaBuilder

item Since: JPA 2.0 Expression<Long> count( Expression x) Create an aggregate expression applying ... Expression<Long> countDistinct( Expression x) Create an aggregate expression applying the count ... operation Returns: sum expression Since: JPA 2.0 Expression<Long> sumAsLong( Expression x
JDO Doc
6

javax.jdo.datastore.Sequence

JDODataStoreException. Returns: the current value Since: JDO 2.0 long currentValue() Returns the current sequence value as a long. Returns the current sequence value as a long. If the current sequence ... long nextValue() Returns the next sequence value as a long. Returns the next sequence value as a long
JDO Doc
6

javax.jdo.spi.StateManager

long getLongField( PersistenceCapable pc, int field, long currentValue) Return the value ... - the current value of the field Since: JDO 1.0 void providedLongField( PersistenceCapable pc, int field, long ... Returns: the new value for the field Since: JDO 1.0 long replacingLongField( PersistenceCapable pc, int
JDO Doc
5

javax.jdo.identity.LongIdentity

, Comparable This class is for identity with a single long field. Since: JDO 1.0 LongIdentity() Constructor ...  pcClass, Long key) Constructor with class and key. Constructor with class and key. Parameters: pcClass - the class key - the key Since: JDO 1.0 LongIdentity(Class pcClass, Long key) Constructor
Forum
4

Persist error @ManyToMany how to define correct entities relationships

private long id; @ManyToMany(cascade=CascadeType.PERSIST) private List categories ... private long id; public Category(int id) { this.id = id ... implements Serializable { @Id //@GeneratedValue private long id
JDO Doc
4

setRange(fromIncl, toExcl)

Method javax.jdo.Query void setRange(   long fromIncl,   long toExcl ) Set the range of results to return. The execution of the query is modified to return only a subset of results. If the filter ... exclusive end index, or Long.MAX_VALUE for no limit. Since: JDO 2.0
JDO Doc
4

setRange(fromInclToExcl)

can be either String representations of long values, or can be parameters identified with a leading ... is done at the data store. Parameters: fromInclToExcl - comma-separated fromIncl and toExcl values Since: JDO 2.0 See Also: setRange(long, long)
Forum
3

Join performance in Objectdb

population completed.");         long ms, result, elapsedTime;         System.out.println("Query 1 started.");         ms = System.currentTimeMillis();         TypedQuery<Long> q1 = em ... AND a.cId = c.id", Long.class);         result = q1.getSingleResult();         elapsedTime
JDO Doc
3

currentValue()

Method javax.jdo.datastore.Sequence long currentValue() Returns the current sequence value as a long. If the current sequence value is not available or is not numeric, throw JDODataStoreException. Returns: the current value Since: JDO 2.0
JDO Doc
3

getLongField(pc, field, currentValue)

Method 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 currentValue - the current value of the field Returns: the new value for the field Since: JDO 1.0