Package org.datanucleus.store.fieldmanager

Examples of org.datanucleus.store.fieldmanager.CacheRetrieveFieldManager


                // Put in L1 cache for easy referencing (case of bi-dir relations needed by the next step)
                myOM.putObjectIntoCache(this);

                // Copy the field values in
                this.replaceFields(fieldsToLoad, new CacheRetrieveFieldManager(this, cacheSM, cachedPC));

                // Disconnect the cached object
                disconnectClone((PersistenceCapable)cachePC);
            }
View Full Code Here


                        JDOStateManagerImpl cacheSM = new JDOStateManagerImpl(myOM, cmd);
                        // TODO Change to use a specific method - lifecycle state is not strictly correct
                        cacheSM.initialiseForDetached(cachePC, getExternalObjectId(myPC), getVersion(myPC));

                        // Copy across the specified fields from the cached object
                        this.replaceFields(cacheFieldsToLoad, new CacheRetrieveFieldManager(this, cacheSM, cachedPC));

                        // Disconnect the StateManager
                        replaceStateManager(((PersistenceCapable)cachePC), null);
                    }
                }
View Full Code Here

                // Put in L1 cache for easy referencing (in case we have bidir relations needed by the next step)
                myOM.putObjectIntoCache(this);

                // Copy the field values in
                this.replaceFields(fieldsToLoad, new CacheRetrieveFieldManager(cacheSM, cachedPC));

                // Disconnect the cached object
                disconnectClone((PersistenceCapable)cachePC);
            }
View Full Code Here

TOP

Related Classes of org.datanucleus.store.fieldmanager.CacheRetrieveFieldManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.