About long

141-150 of 200Refresh
Forum
1

Insertion Speed Rate and Batch Load

.createEntityManager();                 int count = 1000000;         long startTime ... ();             }         }         em.getTransaction().commit();         long time = System.currentTimeMillis() - startTime;         long rate = count / time * 1000;         System.out.println("Persisted " + rate
Forum
1

Issue with orphanRemoval and multiple EntityManagers

=             Persistence.createEntityManagerFactory(                 "objectdb:test.tmp;drop");         long ... static class Organisation {         @Id         private long id;         @OneToMany(cascade ... () {             super();         }         public long getId() {             return id
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