Home » Search

About merge

51-60 of 106Refresh
Forum
2

Removing an element from an @OneToMany doesn't work

); manager.merge(parent); Manager.merge is just transaction.begin(); entityManager.merge(o); transaction
Forum
2

Updating existing persistence entries

a transaction (when SAVE is selected). If a detached object is modified, it has to be merged (maybe merge is your missing method?) in order for the update to take effect. It would be simpler to use the managed entity objects as the beans, and then you do not have detached objects and merge is not
Result
2

ObjectDB version 2.3.3

@PrePersist on merge to be called after merging fields (issue #551). Fixed eager fetch of collections and maps
Result
2

ObjectDB version 2.4.0

on mapped by collections). Fixed object duplication on cascading merge (issue  #595). Fixed ... the Metamodel API and in the Explorer). Fixed a bug in merging complex object graphs. Fixed a bug in
Result
2

ObjectDB version 2.4.2

) fields by JOIN FETCH (issue #854). Fixed type checking of query parameters. Changed merge ... fields (unset values in new fields) correctly. Fixed a bug in clearing embedded objects during merge
Issue
2

[ObjectDB 2.2.6_02] Unexpected exception (Error 990) at com.objectdb.o.OBC.aJ(OBC.java:961)

.merge(EMImpl.java:450) at com.reproduce.error.ReproduceTest.edit(ReproduceTest.java:116) at com ... (); chart = em.merge(chart); em.getTransaction().commit(); } catch (Exception ex
Issue
2

After using the enhancer, Lazy loaded collections are no longer loading. They are set as null

(Long id) { this.id = id; } @OneToMany(cascade={CascadeType.MERGE ... ={CascadeType.MERGE, CascadeType.PERSIST},             mappedBy="account", fetch = FetchType.LAZY
Forum
2

Attempt to remove a detached entity object (error 613)

Hello, that's a strange error for me ... I have a detached object in my Java code and i just wanted to merge it ... Unfortunatly, i get this error : Failed to commit transaction: Attempt to remove ... level batch SQL operations before flushing the merge. So i could give you more informations
Forum
2

Cascading persistence through an inverse field

={PERSIST, REFRESH, MERGE}) private Set points = new HashSet<>(); public void addPoint ... { @ManyToMany(mappedBy="points", cascade={PERSIST, REFRESH, MERGE}) private Set
Issue
2

InternalException

are now: Open a new EntityManager Open a new transaction Merge the updated object (entityManager.merge) Commit the transaction   Could you please check if building the database with the schema (i.e