Package com.force.sdk.jpa.query

Examples of com.force.sdk.jpa.query.ForceQueryUtils


        this.storeManager = storeManager;
        this.mconn = mconn;
        this.table = storeManager.getTable(objectProvider.getClassMetaData());
        if (pkValue != null) {
            QueryResult qr = ((PartnerConnection) mconn.getConnection()).query(
                    new ForceQueryUtils(objectProvider.getExecutionContext(), mconn, null, null, null, null)
                    .buildQueryWithPK(table, objectProvider.getClassMetaData(), fieldNumbers, (String) pkValue, 0));
            if (qr.getSize() == 0) {
                throw new NucleusObjectNotFoundException();
            }
            this.sobject = qr.getRecords()[0];
View Full Code Here

TOP

Related Classes of com.force.sdk.jpa.query.ForceQueryUtils

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.