private void addNamedQueryIfNeeded(NamedQuery annotation, List<NamedQuery> queries) {
if ( annotation != null ) {
String queryName = annotation.name();
boolean present = false;
for ( NamedQuery current : queries ) {
if ( current.name().equals( queryName ) ) {
present = true;
break;
}
}
if ( !present ) {
queries.add( annotation );
}
}
}
JPAOverriddenAnnotationReader.java 文件源码
java
阅读 36
收藏 0
点赞 0
评论 0
项目:lams
作者:
评论列表
文章目录