Home » Search

About detach

141-150 of 153Refresh
Forum
1

NullPointerException while setting a new property value

, but be aware that entities (which are part of a persistence context) are also not expected to be shared by threads, except maybe after detachment. Cabot
Forum
1

ObjectDB 2.6.9_06 (embedded): Cascading merge resulting in duplicate objects

related to any other entity in the database. In explorer I can see that the "detached" entity
Forum
1

ObjectDB version 2.1 has been released

and TreeMap in the Explorer. Fixed detachment of entities by replacing proxy objects with ordinary
Forum
1

OptimisticLockException

are automatically detached at the end transaction. Yes, if A holds an older version of that object
Forum
1

Possible issue with LAZY Loading

or results are detached. In this case, LAZY data will not be available and will not be fetched
Forum
1

Post-compilation enhancement vs Automatic Run-time enhancement

: Pre-detach loading: retrieval by navigation not working in if statement Enhancement in both modes
Forum
1

Problem with @Basic(fetch = FetchType.LAZY)

from Sample s", Sample.class).getResultList().get(0); em.detach(sample); //just to be sure
Issue
1

Read only hint for query

Second thing after @FetchGroup I've found is read-only hint for EM. You can specify this hint to EM when executing query meaning that returned data will never be edited or persisted. My understanding of this is that each entity returned from query is in detached state as default state. query
Forum
1

Removing an entity throws exception

more   After this exception is the entity detached (why?). When I merge it, I can remove it without problems
Forum
1

Removing entity class

how to do it, for example with ObjectDB Explorer? You can retrieve all your objects, detach