2013/8/29 Emmanuel Bernard <emman...@hibernate.org>

> On Thu 2013-08-29 14:22, Steve Ebersole wrote:
> > Given an XProperty, is there a way to ask for annotations which are
> > defined only locally on that declared property (not on any super
> classes)?
>
> I believe that is what XProperty will give you.
> The list of XProperty of a given XClass is computed from
> Class.getDeclaredMethod, so it does not look for superclass methods.
>
> Could it be that @Convert is marked @Inherited?
>

@Inherited applies to annotations on classes only, it has no effect for
annotations on properties.


> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to