Examples of pushFetchPlan()


Examples of org.apache.openjpa.persistence.OpenJPAEntityManager.pushFetchPlan()

   
    protected void pushFetchPlan(Object target) {
        if (!hasQualifier(QUALIFIER_PLAN))
            return;
        OpenJPAEntityManager em = _ctx.getPersistenceContext();
        FetchPlan plan = em.pushFetchPlan();
        BrokerImpl broker = (BrokerImpl)JPAFacadeHelper.toBroker(em);
        if (target instanceof OpenJPAEntityManager) {
            broker.setCacheFinderQuery(false);
        } else if (target instanceof OpenJPAQuery) {
            broker.setCachePreparedQuery(false);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.