Package org.datanucleus.store.query

Examples of org.datanucleus.store.query.NoQueryResultsException


            if (isQuery) {
                // For queries with an invalid ID field message, treat them
                // just like any other query for which we have no results.
                String exceptionMsg = af.getExceptionMessage();
                if (exceptionMsg != null && exceptionMsg.contains("invalid ID field")) {
                    return new NoQueryResultsException("invalid ID field");
                }
               
                return new NucleusUserException(af.toString(), af);
            } else {
                // For non-queries (e.g. em.find), the SOQL query is pre-defined
View Full Code Here

TOP

Related Classes of org.datanucleus.store.query.NoQueryResultsException

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.