Home » Search

About remove

141-150 of 200Refresh
Forum
1

Database size is much larger than expected (x2)

the posting instructions and simplify the code. Remove any loops and file reading operations and try to demonstrate how pure persisting code causes the problem. >>Remove any loops and file reading ... program and removing unnecessary code until the problem remains with no irrelevant code
Forum
1

Database(*.odb) file size on disk

();    }    em.flush();    System.out.println("remove");    // remove    for (int i = 0; i < objects; i ... ));     em.remove(entity);     em.getTransaction().commit();    }   }   em.close();   emf
Forum
1

EntityManager JPA or JDO impl and different behavior

. import the test project to eclipse 3. In eclipse, change your java build path to remove the M2_REPO ... with exception about trying to reuse a primary key for AttributeName. So I removed the CascadeType.All from ... replacing the annotation at line 92 in Holder.java, and removing the persisting of OtherObject in
Forum
1

Foreign key constraint issue

to Parent, so that when the parent is deleted all children are removed as well. Unfortunately, in ...     private long id;     @OneToMany(cascade = {CascadeType.MERGE, CascadeType.REMOVE}, mappedBy ... get deleted, whereas I'd want to remove all orphaned child entities (as with a foreign key constraint
Issue
1

Internal Exception and Index Problems

can be thrown due to any addition or removal of persistent fields in an entity class, including moving a field in the hierarchy (which includes removing it from one class and adding it to another super/sub class), and due to any inheritance change (such as adding, removing or changing the super
Issue
1

Issue with DISTINCT Select

.lastName) By the way, why are you using fully qualified names? if you remove entity names from ... .lastName) because the order here is derived from $1, not from $2 that is removed from the results. Hi, Now you've lost me.. why is $2 removed from the result? I mean, it is not a collection
Forum
1

Items in list are doubled, when the entity class is not enhanced

(); for(Object o : l){ em.remove(o); } em.getTransaction().commit(); l ... (); for(Object o : l){ em.remove(o); } em.getTransaction().commit ... order to fix orphan removal). If Customer is not dirty - it doesn't cascade persisting
Forum
1

Java 9 support

and com.objectdb.jdo? com.objectdb.spring? removing some dependencies, e.g. on java.desktop ... either remove that dependency, or provide some correct module dependency directives and require ... -to-java-9 migration by trying to separate out all third party modules and removing all dependencies as
Forum
1

Lazy loading does not work - crud takes long

  On the other side if i remove all items from the OneToMany Relation at Example Datapoint (10.000 Recors). The API need for 50 Records 1 second to remove. for(Datapoint d: list){ em.remove(em.merge(d))}   The class
Forum
1

Mapped By Fetch is very Slow

, go the MyEntity class and remove "mapped-by". You obtain 1 second max of query fetch. So my performance issue ... .ALL,mappedBy = "myEntity") // Test by adding / remove "mappedBy" public MyEntityChild getEntityChild ... execution of such queries with large collections (e.g. 10,000) was very inefficient. Note: Removing