Package org.mybatis.generator.codegen.ibatis2.sqlmap.elements

Examples of org.mybatis.generator.codegen.ibatis2.sqlmap.elements.DeleteByPrimaryKeyElementGenerator


    }
  }

  protected void addUpdateByPrimaryKeySelectiveMethod(TopLevelClass topLevelClass, Interface interfaze) {
    if (introspectedTable.getRules().generateUpdateByPrimaryKeySelective()) {
      AbstractDAOElementGenerator methodGenerator = new UpdateByPrimaryKeySelectiveMethodGenerator();
      initializeAndExecuteGenerator(methodGenerator, topLevelClass, interfaze);
    }
  }
View Full Code Here


    }
  }

  protected void addUpdateByPrimaryKeyWithBLOBsMethod(TopLevelClass topLevelClass, Interface interfaze) {
    if (introspectedTable.getRules().generateUpdateByPrimaryKeyWithBLOBs()) {
      AbstractDAOElementGenerator methodGenerator = new UpdateByPrimaryKeyWithBLOBsMethodGenerator();
      initializeAndExecuteGenerator(methodGenerator, topLevelClass, interfaze);
    }
  }
View Full Code Here

    }
  }

  protected void addUpdateByPrimaryKeyWithoutBLOBsMethod(TopLevelClass topLevelClass, Interface interfaze) {
    if (introspectedTable.getRules().generateUpdateByPrimaryKeyWithoutBLOBs()) {
      AbstractDAOElementGenerator methodGenerator = new UpdateByPrimaryKeyWithoutBLOBsMethodGenerator();
      initializeAndExecuteGenerator(methodGenerator, topLevelClass, interfaze);
    }
  }
View Full Code Here

    if ("IBATIS".equalsIgnoreCase(type)) { //$NON-NLS-1$
      javaGenerator = new DAOGenerator(new IbatisDAOTemplate(), isJava5Targeted());
    } else if ("SPRING".equalsIgnoreCase(type)) { //$NON-NLS-1$
      javaGenerator = new DAOGenerator(new SpringDAOTemplate(), isJava5Targeted());
    } else if ("GENERIC-CI".equalsIgnoreCase(type)) { //$NON-NLS-1$
      javaGenerator = new DAOGenerator(new GenericCIDAOTemplate(), isJava5Targeted());
    } else if ("GENERIC-SI".equalsIgnoreCase(type)) { //$NON-NLS-1$
      javaGenerator = new DAOGenerator(new GenericSIDAOTemplate(), isJava5Targeted());
    } else {
      javaGenerator = (AbstractJavaGenerator) ObjectFactory.createInternalObject(type);
    }
View Full Code Here

                    isJava5Targeted());
        } else if ("SPRING".equalsIgnoreCase(type)) { //$NON-NLS-1$
            javaGenerator = new DAOGenerator(new SpringDAOTemplate(),
                    isJava5Targeted());
        } else if ("GENERIC-CI".equalsIgnoreCase(type)) { //$NON-NLS-1$
            javaGenerator = new DAOGenerator(new GenericCIDAOTemplate(),
                    isJava5Targeted());
        } else if ("GENERIC-SI".equalsIgnoreCase(type)) { //$NON-NLS-1$
            javaGenerator = new DAOGenerator(new GenericSIDAOTemplate(),
                    isJava5Targeted());
        } else {
View Full Code Here

    } else if ("SPRING".equalsIgnoreCase(type)) { //$NON-NLS-1$
      javaGenerator = new DAOGenerator(new SpringDAOTemplate(), isJava5Targeted());
    } else if ("GENERIC-CI".equalsIgnoreCase(type)) { //$NON-NLS-1$
      javaGenerator = new DAOGenerator(new GenericCIDAOTemplate(), isJava5Targeted());
    } else if ("GENERIC-SI".equalsIgnoreCase(type)) { //$NON-NLS-1$
      javaGenerator = new DAOGenerator(new GenericSIDAOTemplate(), isJava5Targeted());
    } else {
      javaGenerator = (AbstractJavaGenerator) ObjectFactory.createInternalObject(type);
    }

    initializeAbstractGenerator(javaGenerator, warnings, progressCallback);
View Full Code Here

                    isJava5Targeted());
        } else if ("GENERIC-CI".equalsIgnoreCase(type)) { //$NON-NLS-1$
            javaGenerator = new DAOGenerator(new GenericCIDAOTemplate(),
                    isJava5Targeted());
        } else if ("GENERIC-SI".equalsIgnoreCase(type)) { //$NON-NLS-1$
            javaGenerator = new DAOGenerator(new GenericSIDAOTemplate(),
                    isJava5Targeted());
        } else {
            javaGenerator = (AbstractJavaGenerator) ObjectFactory
                    .createInternalObject(type);
        }
View Full Code Here

    String type = context.getJavaClientGeneratorConfiguration().getConfigurationType();

    AbstractJavaGenerator javaGenerator;
    if ("IBATIS".equalsIgnoreCase(type)) { //$NON-NLS-1$
      javaGenerator = new DAOGenerator(new IbatisDAOTemplate(), isJava5Targeted());
    } else if ("SPRING".equalsIgnoreCase(type)) { //$NON-NLS-1$
      javaGenerator = new DAOGenerator(new SpringDAOTemplate(), isJava5Targeted());
    } else if ("GENERIC-CI".equalsIgnoreCase(type)) { //$NON-NLS-1$
      javaGenerator = new DAOGenerator(new GenericCIDAOTemplate(), isJava5Targeted());
    } else if ("GENERIC-SI".equalsIgnoreCase(type)) { //$NON-NLS-1$
View Full Code Here

        String type = context.getJavaClientGeneratorConfiguration()
                .getConfigurationType();

        AbstractJavaGenerator javaGenerator;
        if ("IBATIS".equalsIgnoreCase(type)) { //$NON-NLS-1$
            javaGenerator = new DAOGenerator(new IbatisDAOTemplate(),
                    isJava5Targeted());
        } else if ("SPRING".equalsIgnoreCase(type)) { //$NON-NLS-1$
            javaGenerator = new DAOGenerator(new SpringDAOTemplate(),
                    isJava5Targeted());
        } else if ("GENERIC-CI".equalsIgnoreCase(type)) { //$NON-NLS-1$
View Full Code Here

    AbstractJavaGenerator javaGenerator;
    if ("IBATIS".equalsIgnoreCase(type)) { //$NON-NLS-1$
      javaGenerator = new DAOGenerator(new IbatisDAOTemplate(), isJava5Targeted());
    } else if ("SPRING".equalsIgnoreCase(type)) { //$NON-NLS-1$
      javaGenerator = new DAOGenerator(new SpringDAOTemplate(), isJava5Targeted());
    } else if ("GENERIC-CI".equalsIgnoreCase(type)) { //$NON-NLS-1$
      javaGenerator = new DAOGenerator(new GenericCIDAOTemplate(), isJava5Targeted());
    } else if ("GENERIC-SI".equalsIgnoreCase(type)) { //$NON-NLS-1$
      javaGenerator = new DAOGenerator(new GenericSIDAOTemplate(), isJava5Targeted());
    } else {
View Full Code Here

TOP

Related Classes of org.mybatis.generator.codegen.ibatis2.sqlmap.elements.DeleteByPrimaryKeyElementGenerator

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.