About detach

111-120 of 164Refresh
Forum
2

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
2

evictAll() behavior

if they are implementing interfaces PersistenceCapable and Detachable after postprocesing and they do not. I spoted ... .objectdb.spi.TrackableUserType but they do not implement PersistenceCapable and Detachable as Isaid
Forum
2

Failed to write the value of field using reflection (error 363) on LAZY fetch

that also suggests a new setting ("objectdb.temp.no-detach") that may be useful for you. Regarding setting Spring Framework transactions in a way that JPA managed entities will not be detached on exiting
Issue
2

InternalException

more The exception is thrown during detachment of an object (at the end of commit). Apparently the specific detached object that causes the exception has no id (primary key) fields. ObjectDB supports
Forum
2

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
2

Items in list are doubled, when the entity class is not enhanced

(which has never been detached). According to JPA - the merge operation is ignored for Customer ... of the referenced new Item instance. I've added a line with em.contains check, so merge is called only on detached
Forum
2

JDO sequences from ORM file

" />   detachable="true" />   detachable="false" />  
Forum
2

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
Issue
2

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
Forum
2

Possible issue with Spring JPA and Embedded

Paul. The difference between the two tests is that Spring JPA returns detached objects. A collection of embedded objects is loaded lazily by default so it will not be available after detach