About long

61-70 of 200Refresh
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
JPA Doc
3

sumAsLong(x)

Method javax.persistence.criteria.CriteriaBuilder Expression<Long> sumAsLong(   Expression x ) Create an aggregate expression applying the sum operation to an Integer-valued expression, returning a Long result. Parameters: x - expression representing input value to sum operation Returns: sum expression Since: JPA 2.0
JPA Doc
3

toLong(number)

Method javax.persistence.criteria.CriteriaBuilder Expression<Long> toLong(   Expression number ) Typecast. Returns same expression object. Parameters: number - numeric expression Returns: Expression<Long> Since: JPA 2.0
Forum
3

Optimistic locking: prevent version increment on entity collection attribute

    @Id private long id;        @OneToMany(mappedBy="document")     private ArrayList readings = new ArrayList();        public long getId() {         return id ... Reading {        // ID is generated by the database     @Id private long id;     private Document
Forum
3

Composite Index error 328

UsrlistEntity implements Serializable { private static final long serialVersionUID = -4472890635861972890L; private int id; private int dyId; private long pwd; private String ... job; private String phoneNumber; private Long contactHash; private String kadrosu
Forum
3

ClassCastException on SELECT NEW ... after UPDATE over Java RMI

Long id; private String fileName; public FileNameDTO(Long id, String fileName) { this.id = id; this.fileName = fileName; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String
Forum
2

Need help to make this test work and define proper annotations for entities Lists

class OrderDat implements Serializable {             @Id @GeneratedValue private long id ... ;                 this.items = items;             }             public long getId() {                 return id;             }             public void setId(long id) {                 this.id = id
Forum
2

Date field Index is corrupted due to time change

");         em.getTransaction().begin();         Long r = (Long) q.getSingleResult();         em ... COUNT(r) FROM DateTime AS r");         em.getTransaction().begin();         r = (Long) q ... roundDownDateTime(Date dateTime) {         long dateTimeMs = dateTime.getTime();         long
Forum
2

Error 363 - Failed to read value of inverse relationship

= GenerationType.AUTO) private long id; @ManyToOne(optional=false) private ETown town ... Player implements Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue private Long id; private int permission = 0, activePermission = 0