Package com.founder.fix.bpmn2extensions.sqlmappingconfig

Examples of com.founder.fix.bpmn2extensions.sqlmappingconfig.Select


      }

    }

    if (rule instanceof Select) {
      Select select = (Select) rule;
      String resultMapSelect = select.getResultMap();
      if (StringUtil.isNotEmpty(resultMapSelect)) {
        ResultMap resultMap = processEngineConfiguration.getResultMap(resultMapSelect);

        if (resultMap == null) {
          throw new FixFlowDbException("resultMap " + resultMapSelect + " 未找到!");
View Full Code Here


      if (((List) returnObjList).size() == 0) {
        return null;
      }
    }
    if (rule instanceof Select) {
      Select select = (Select) rule;
      String resultMapSelect = select.getResultMap();
      if (StringUtil.isNotEmpty(resultMapSelect)) {
        ResultMap resultMap = processEngineConfiguration.getResultMap(resultMapSelect);

        if (resultMap == null) {
          throw new FixFlowDbException("resultMap " + resultMap + " 未找到!");
View Full Code Here

        ruleMap.put(updateObj.getId(), updateObj);
      }

      for (Object ele : document.getRootElement().elements("select")) {
        Element element = (Element) ele;
        Select selectObj = SqlmappingconfigFactory.eINSTANCE.createSelect();
        selectObj.setId(element.attributeValue("id"));
        selectObj.setParameterType(element.attributeValue("parameterType"));
        selectObj.setRemark(element.attributeValue("remark"));
        selectObj.setSqlValue(element.getText());
        selectObj.setResultMap(element.attributeValue("resultMap"));
        String classPathString=element.attributeValue("classPath");
        if(StringUtil.isNotEmpty(classPathString)){
          Class<?> classObj=ReflectUtil.loadClass(classPathString);
          if(classObj!=null){
            selectObj.setClassPath(classPathString);
            ruleClassMap.put(element.attributeValue("id"), classObj);
          }
        }
        ruleMap.put(selectObj.getId(), selectObj);
      }

      for (Object ele : document.getRootElement().elements("businessRules")) {
        Element element = (Element) ele;
        BusinessRules businessRules = SqlmappingconfigFactory.eINSTANCE.createBusinessRules();
View Full Code Here

TOP

Related Classes of com.founder.fix.bpmn2extensions.sqlmappingconfig.Select

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.