Package org.datanucleus.FetchPlan

Examples of org.datanucleus.FetchPlan.FetchPlanForClass


     * Fetchs from the database all fields in the actual fetch plan.
     * Called by life-cycle transitions.
     */
    public void loadUnloadedFieldsOfClassInFetchPlan(FetchPlan fetchPlan)
    {
        FetchPlanForClass fpc = fetchPlan.manageFetchPlanForClass(this.cmd);
        int[] fieldNumbers = getFlagsSetTo(loadedFields, fpc.getFieldsInActualFetchPlan(), false);
        if (fieldNumbers != null && fieldNumbers.length > 0)
        {
            boolean callPostLoad = fpc.isToCallPostLoadFetchPlan(this.loadedFields);
            getStoreManager().getPersistenceHandler().fetchObject(this, fieldNumbers);
            updateLevel2CacheForFields(fieldNumbers);
            if (callPostLoad)
            {
                postLoad();
View Full Code Here

TOP

Related Classes of org.datanucleus.FetchPlan.FetchPlanForClass

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.