About long

51-60 of 200Refresh
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
JPA Doc
3

javax.persistence.GeneratedValue

") @Column(name="CUST_ID") public Long getId() { return id; } Example 2: @Id @GeneratedValue(strategy=TABLE, generator="CUST_GEN") @Column(name="CUST_ID") Long id
JPA Doc
3

javax.persistence.MapsId

has simple primary key @Entity public class Employee { @Id long empId; String name ... public class DependentId { String name; long empid; // corresponds to primary key
JPA Doc
3

javax.persistence.Version

, Integer, short, Short, long, Long, java.sql.Timestamp. Example: @Version @Column(name
JDO Doc
3

nextValue()

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

setLongField(pc, field, currentValue, newValue)

Method 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 PersistenceCapable instance field - the field number currentValue - the current value of the field