About detached

forum_thread

Error during cascaded merge

Hello! I have a new problem with ObjectDB 2.5.5_02. This issue appeared after the upgrade from 2.5.5. I get the following exception: ... is exactly what happens in our webapp. A unit entity gets detached, the user edits it, its merged back. Here are the relevant parts ...

 
api-jdo

isDirty(pc)

Tests whether the parameter instance is dirty.(Method of javax.jdo.spi.StateInterrogation)

 
forum_thread

Is it possible to commit only specific elements?

Hello, As stated above, I would like to know if it is possible to commit only specific elements, or at least update a single table, disregarding the other entities loaded in the persistency context? I have a complex hierarchy of intertwined objects. Currently I am clearing my persistency context, retrieving only the needed ones, creating new ones (which I want to commit), detaching the ones I've previously retrieved and finally committing. My context is big data and performance is an issue.      #1 2015-07-24 11:13 Hello, As stated above, I would like to know if it is possible to commit only specific elements, or at le ...

 
api-jdo

javax.jdo.listener.AttachCallback

This interface is used to notify instances of attach events.(Interface of JDO)

 
api-jdo

setCopyOnAttach(flag)

Sets the copyOnAttach setting.(Method of javax.jdo.PersistenceManager)

 
api-jdo

getDetachedInstance()

Returns the detached instance involved in the event.(Method of javax.jdo.listener.InstanceLifecycleEvent)

 
api-jdo

setCopyOnAttach(flag)

Sets the default copyOnAttach setting for all PersistenceManager instances obtained from this factory.(Method of javax.jdo.PersistenceManagerFactory)

 
api-jdo

makeTransientAll(pcs, useFetchPlan)

Make instances transient, removing them from management by this PersistenceManager.(Method of javax.jdo.PersistenceManager)

 
api-jdo

makeTransientAll(useFetchPlan, pcs)

Make instances transient, removing them from management by this PersistenceManager.(Method of javax.jdo.PersistenceManager)

 
api-jdo

makeTransientAll(pcs, useFetchPlan)

Make instances transient, removing them from management by this PersistenceManager.(Method of javax.jdo.PersistenceManager)