About detach

111-120 of 160Refresh
Forum
1

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
1

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
1

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

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
1

JDO sequences from ORM file

" />   detachable="true" />   detachable="false" />  
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

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

Does ObjectDB create one instance of each entity class on (web app) load ?

are configurable with a pre-detach loader that "visits" any data and relationships needed for particular views, rather than relying on one-size-fits-all EAGER. This pre-detach loader approach is even more flexible than entity fetch graphs, too.       webel