Home » Search

About long

141-150 of 200Refresh
Forum
1

JDOHelper.isDetached failure ?

(detachable="true") public class TestClass implements Serializable { @PrimaryKey private long ... (long id,String name) { this.id = id; this.name = name ... ; } /** * @return the id */ public long getId() { return id; } } Prints
Forum
1

Left join fetch behaviour doesn't retrieve children?

();   em.close();   em = emf.createEntityManager();   Long start = new Date().getTime ... );     // Retrieve only 10 000   List entities = query.setMaxResults(10000).getResultList();   Long end = new Date().getTime();   Long duration = (end - start) / 1000;   System.out.println
Forum
1

mappedBy problem

.IDENTITY) public Long id; public String name; @OneToMany(targetEntity=Address.class ... { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) public Long id; public String line ... refreshed from the database - as long as the owner side is set (because the mapped by side is merely
Forum
1

Memory Leak?

it and then retrieve each of the object one by one. The object is key by Long. Here is the jmap at time1: num ... to this topic.  private void deleteData() {   if (em.isOpen()) {    em.close();   }   long fromTs ... ("DELETE d FROM Device d WHERE d.deviceId = ?1");    q1.setParameter(1, new Long(i));    //q1
Forum
1

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

with the application, as long as I avoid Explorer, without having any problem. That's the main point. That's a real pain. In the first app I encountered this I had to remove @Enumerated with Long, and add ids for each Enum in my logic, because using @Ordinal is not proper for long term
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