About merge

81-90 of 114Refresh
Forum
1

Multiple joins did not return expected result

which must be doubled if I use 2 variables. Thanks Markus Running two different separate queries and merging
Forum
1

NullPointerException while setting a new property value

.persist(o); } else { em.merge(o
Forum
1

On ensuring ID available after persist

() merely state that it should "Make an instance managed and persistent.", and unlike merge
Forum
1

Optimistic locking: prevent version increment on entity collection attribute

(); em.merge(tmpDoc); // This is fine as well but should get the collection back from
Forum
1

OrphanRemoval not working?

. When saving the entity, I'm using merge and flush. The entity object is managed, so I think
Forum
1

Package name for persisted entities

Hi, I have a question about package name and searching for entities. As for now we were using two different databases for two different parts of our system. But we want to make a 'common' model for both systems. After merging entities from two different projects, we get single jar with all entities
Forum
1

Performance and memory usage of queries

.merge(myEntity);    for (int m = 0; m < steps; m++) {     MyEntityElement myEntityElement = new
Forum
1

persistence.xml classes not respected by ObjectDB

that one, it seems that they ODB didn't merge all classes, as it does if I erase the DB and start all over. But that's a problem. I
Forum
1

persists and update together ?

update the object. Without calling find , can we do this ?   Maybe merge instead of persist is what you are looking for. kadirbasol
Forum
1

Puzzler: Not getting cascades on read from Spring context

you may try setting objectdb.temp.no-detach. Would it make sense to call entityManager.merge(o