if(!"".equals(query.sql())){
q = service.crud().getEntityManager().createQuery(query.sql());
}
else if(!"".equals(query.namedQuery())){
q = service.crud().getEntityManager().createNamedQuery(query.namedQuery());
}
QueryParams params = ic.getMethod().getAnnotation(QueryParams.class);
if(params != null){
for (QueryParam queryParam : params.value()) {