About removed

151-160 of 200Refresh
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

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
Issue
1

New Java 8 (JDK 1.8) Collection Methods

is that orphan removal does not happen as a result of removing a reference to an object (which becomes an orphan) using the new methods: removeIf(predicate) and remove(key, value). zmirc
Forum
1

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

). Try to remove the second definition and follow the steps that you described. Actually, maybe opening the database with that package.jdo file removed the index. So maybe after fixing the package.jdo ... is not indexed so ideally it would be using the second defination. Anyways, i tried removing