类org.apache.ibatis.annotations.CacheNamespaceRef源码实例Demo

下面列出了怎么用org.apache.ibatis.annotations.CacheNamespaceRef的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: mybaties   文件: MapperAnnotationBuilder.java
private void parseCacheRef() {
  CacheNamespaceRef cacheDomainRef = type.getAnnotation(CacheNamespaceRef.class);
  if (cacheDomainRef != null) {
    assistant.useCacheRef(cacheDomainRef.value().getName());
  }
}
 
源代码2 项目: mybatis   文件: MapperAnnotationBuilder.java
private void parseCacheRef() {
  CacheNamespaceRef cacheDomainRef = type.getAnnotation(CacheNamespaceRef.class);
  if (cacheDomainRef != null) {
    assistant.useCacheRef(cacheDomainRef.value().getName());
  }
}