Home » Search

About detach

101-110 of 152Refresh
Forum
2

Accessing objects to make them available after EntityManager close?!

objects? Many thanks Closing the EntityManager changes the state of the managed object to detached, and in detached objects only fields that have already been loaded when the EntityManager ... the fetch policy as EAGER or run queries with JOIN FETCH. Alternatively you may consider the non standard "objectdb.temp.no-detach" extension.
Forum
1

Can't get arraylist/vector type attributes

entity objects become detached, and content that has not been retrieved from the datbase ... the EntityManager or load it eagerly (FetchType.EAGER). See also "objectdb.temp.no-detach" as a possible quick workaround. Loading it eagerly worked
Forum
1

Dirty checking

, the JPA state diagram seems to indicate that post commit entities are automatically set to 'Detached ... , they won't be retrieved for the detached object. I'm not sure how ObjectDb handles that, am guessing
Forum
1

Error during cascaded merge

");     List result = query.getResultList();     Unit unit = result.get(0);     em.detach ... ); } This is exactly what happens in our webapp. A unit entity gets detached, the user edits
Forum
1

Is it possible to commit only specific elements?

, retrieving only the needed ones, creating new ones (which I want to commit), detaching the ones I've ... threads. Another option is to detach specific objects from the persistence context (which you want
Forum
1

migration path from JPA / Hibernate

program that retrieves entity objects from Hibernate, detaches them and then persists them using ObjectDB ... for the detailed answers! > retrieves entity objects from Hibernate, detaches them and then persists them using
Forum
1

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
1

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

Different behavior with persist() and queried instances?

the entity manager so my object gets detached. Between the persist() and the commit() call, my list ... .ArrayList). However, after detaching it becomes a regular java.util.Array again which of course
Issue
1

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

: ConfigBean []: ConfigBean:@PostConstruct:createData: not setting objectdb.temp.no-detach ! Info ... .GS4223.tgz if I set experimental 'objectdb.temp.no-detach' true on startup, I get INSTEAD (or maybe