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);
}