Change By: Pedro Igor (29/Oct/13 10:16 PM)
Steps to Reproduce: {code}
 Property<String> property =PropertyQueries.<String>createQuery(this.mappedClass).addCriteria(new NamedPropertyCriteria("someProperty")).getFirstResult();

if (property.getAnnotatedElement().isAnnotationPresent(SomeAnnotation.class)) {
     // this is always true if the annotation is declared on the field only.
}
{code}
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira