About detach

121-130 of 164Refresh
Forum
2

problem with lazy loading - unittest project attached

becomes detached. Since the relationship between Foo And Bar is lazy - it is unavailable in a detached Foo instance and the collection looks empty. thanks for your help this is a little version
Forum
2

"Attempt to lock a non entity object" error

persistence context and detach all managed entity objects: ... Rolling back a transaction - either by ... and would prefer.  It is correct. All the entity objects are detached on rollback. This is how it should work
Forum
2

Unable to update a OneToMany Set

after every operation your Company instance becomes detached. A detached entity object does not track changes
Forum
2

Updating existing persistence entries

a transaction (when SAVE is selected). If a detached object is modified, it has to be merged (maybe ... the managed entity objects as the beans, and then you do not have detached objects and merge is not
Forum
1

ClassCastException on closing PersistenceManager

it next time.   The stack trace indicates an issue in the implementation of the new embeddable detachment
Forum
1

EntityTransaction.commit() does not release a pessimistic lock

.setDetachAllOnCommit(true); In this case entity objects will be detached and unlocked on transaction commit. kurti
Issue
1

Fetch a whole entity graph eager

Hello, I have two question at you. Are you provided JPA 2.1 annotation @NamedEntityGraph in next version ObjectDB 3.0? And do you know an easy possibility to get an entirely eager entity graph with all depended entities which we can use as a detached full accessible entity graph outside
Forum
1

Fetch Set from DB only works on debug mode

the data before closing the EntityManager. Read about detached entities in the manual
Forum
1

Fetching Collections Puzzle

automatically. Unless the Node object is detached, for example if the EntityManager
Forum
1

How do I achieve a Deep Fetch using JOIN FETCH?

where I need to be able to work with the whole C object, with all its parts, as a detached object. I