Java 类org.apache.ibatis.annotations.Property 实例源码

项目:mybatis-plus-mini    文件:MybatisMapperAnnotationBuilder.java   
private Properties convertToProperties(Property[] properties) {
    if (properties.length == 0) {
        return null;
    }
    Properties props = new Properties();
    for (Property property : properties) {
        props.setProperty(property.name(), PropertyParser.parse(property.value(), configuration.getVariables()));
    }
    return props;
}
项目:mybatis-plus    文件:MybatisMapperAnnotationBuilder.java   
private Properties convertToProperties(Property[] properties) {
    if (properties.length == 0) {
        return null;
    }
    Properties props = new Properties();
    for (Property property : properties) {
        props.setProperty(property.name(), PropertyParser.parse(property.value(), configuration.getVariables()));
    }
    return props;
}
项目:mybatis-3    文件:MapperAnnotationBuilder.java   
private Properties convertToProperties(Property[] properties) {
  if (properties.length == 0) {
    return null;
  }
  Properties props = new Properties();
  for (Property property : properties) {
    props.setProperty(property.name(),
        PropertyParser.parse(property.value(), configuration.getVariables()));
  }
  return props;
}