Package com.scooterframework.orm.sqldataexpress.exception

Examples of com.scooterframework.orm.sqldataexpress.exception.UnsupportedDataProcessorNameException


            if (storedProcedure == null) {
                //discovery
                storedProcedure = SqlExpressUtil.lookupStoredProcedure(udc, processorName);
               
                if (storedProcedure == null) {
                    throw new UnsupportedDataProcessorNameException();
                }
                else {
                    DBStore.getInstance().addStoredProcedure(processorName, storedProcedure);
                }
            }
           
            selectedDataProcessor = new StoredProcedureProcessor(storedProcedure);
        }
        else if (DataProcessorTypes.FUNCTION_PROCESSOR.equals(processorType)) {
            Function function = DBStore.getInstance().getFunction(processorName);
           
            if (function == null) {
                //discovery
                function = SqlExpressUtil.lookupFunction(udc, processorName);
               
                if (function == null) {
                    throw new UnsupportedDataProcessorNameException();
                }
                else {
                    DBStore.getInstance().addFunction(processorName, function);
                }
            }
View Full Code Here

TOP

Related Classes of com.scooterframework.orm.sqldataexpress.exception.UnsupportedDataProcessorNameException

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.