About long

151-160 of 200Refresh
Forum
1

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

+ Jboss 7.1.1 @Entity public class Person extends AbstractObject { private static final long ... ; } } @Entity public class City extends AbstractObject { private static final long ... IAbstractObject { //private static final long serialVersionUID = 1L; @Id private String id
Forum
1

Object comparation never matches

class PhoneNumber implements Serializable {     int countryCode;     long number ... Long id; public void setPrincipal(PhoneNumber number){     principal = number; }   And making ... | {}         countryCode | int | 123         number | long | 4567890   Then I'm constructing exactly the same
Forum
1

Out of memory

to a separate issue, since this thread became too long. Please subscribe to that new issue. Analysis ... + some cache size? Is there any chance to add some logging for long / memory hungry queries? And lastly ... that there is always enough spare space. As long as there are no memory leaks in ObjectDB
Forum
1

Performance issues on aggregate query

final long serialVersionUID = 1L;      @Id     public String uUid;     public Integer ... Serializable {     private static final long serialVersionUID = 1L;         @Id @GeneratedValue     public long id; @Index public Double doubleValue; // HS-778 public Boolean journal; public String
Forum
1

Problem witch CriteriaBuilder isMember(..)

class Testclass {     long uid = 0;     long udb = 0; } Im unable to search for some occurence ... = expression.in(uid3_list); // works fine as long there is no previous
Forum
1

Problem with byte arrays in JDO - ClassCastException

Example { private long id; private String name; private byte[] data; /** * @return the id */ public long getId() { return id; } /** * @param id the id to set */ public void setId(long id) { this.id = id
Forum
1

Problem with byte arrays in JDO - internal exception

.model; /** * * @author steve */ public class Example { private long id; private String name; private byte[] data; /** * @return the id */ public long getId ... setId(long id) { this.id = id; } /** * @return the name
Forum
1

Queries are slow on a large database

)results[0]; Integer maxId = (Integer)results[1]; Long countId = (Long)results[2]; Now I want ... logEntryId; private long timestamp = -1; ... I rebuild and enhanced my classes. I
Forum
1

Query fails with numerical values > 2^31

". The field p.TimeOfDeletion is of type long. As far as I know, the maximum value greater than 2^31 (Oracle: "The long data type is a 64-bit two's complement integer.") In the database, typical ... to the long number (4147483648L) solves the error. Yeah, adding 'L' works great (both in code as
Forum
1

Remove an entity which attributes were changed - OptimisticLockException

();     }     @Entity     public static class MyEntity {         @Id @GeneratedValue long id ... = em.find(MyEntity.class, 1);         e.value++;         em.flush();         long removedID = e ...         @GeneratedValue         long id;         int value;     } }   Thanks. Build 2.8.0_01 should fix it. Thanks. The issue is solved with Build 2.8.0_01. btc_es