Home » Search

About detach

71-80 of 156Refresh
Forum
4

Selective merge/cascade of detatched entity

memory at all times, in a Detached state (I realise the implications here, there are good reasons ... would be for there to be some way to re-attach the detached salesman with some form of 'I promise I haven't changed ... concern is that the reason the detached objects are kept in memory is that they are shared between
Forum
4

A lot of ENT and SIV instances which are not cleared by GC

 "objectdb.temp.no-detach"? Try to find the roots and paths to the ENT objects (using VisualVM) that keep them strongly reachable. Yes, I use no-detach option. So how can I fix it? Remove no-detach? But it has negative effects too. With "objectdb.temp.no-detach" enabled, clear() is silently ignored
Forum
4

GWT RPC is throwing serialization exception when I have object db date value

was released (2.0.5_02) in which ObjectDB performs this replacement operation also on detachment (rebuild and enhance your classes again to use this). So you can use now detached entity objects. Maybe you may even use detached entity objects directly in GWT with no DTO.   Hello, I have a similar problem
JPA Doc
3

clear()

Method javax.persistence.EntityManager void clear() Clear the persistence context, causing all managed entities to become detached. Changes made to entities that have not been flushed to the database will not be persisted. Since: JPA 1.0
JDO Doc
3

getDetachmentOptions()

Method javax.jdo.FetchPlan int getDetachmentOptions() Get options used during detachment. Since: JDO 2.0
JDO Doc
3

getDetachmentRootClasses()

Method javax.jdo.FetchPlan Class[] getDetachmentRootClasses() Get the root classes for DetachAllOnCommit. Returns: The detachment root classes Since: JDO 2.0
JDO Doc
3

getDetachmentRoots()

Method javax.jdo.FetchPlan Collection getDetachmentRoots() Get the roots for DetachAllOnCommit. Returns: Collection of detachment roots. Since: JDO 2.0
JPA Doc
3

getReference(entityClass, primaryKey)

is called.) The application should not expect that the instance state will be available upon detachment
JDO Doc
3

getSource()

except preAttach, or the detached instance for a postDetach or preAttach callback. Since: JDO 2.0
JDO Doc
3

getTarget()

Method javax.jdo.listener.InstanceLifecycleEvent Object getTarget() The target object of the Event. Although not deprecated, it is recommended that the the methods getPersistentInstance() and getDetachedInstance() be used instead. Returns: The detached instance for preDetach and postAttach