maybe we should move the annotation indexing from
org.hibernate.metamodel.internal.source.annotations.AnnotationMetadataSourceProcessorImpl#AnnotationMetadataSourceProcessorImpl
into MetadataSources ( for hbm, it can be get by
org.hibernate.metamodel.MetadataSources#getJaxbRootList)
and add a new interface MetadataContributingIntegrator and hook this into
org.hibernate.metamodel.internal.MetadataImpl#MetadataImpl
thoughts?
On Jul 31, 2012, at 10:51 PM, Sanne Grinovero <sanne(a)hibernate.org> wrote:
Both Hibernate Search and Hibernate OGM will need to look for custom
annotations as well.
On 30 July 2012 22:59, Strong Liu <stliu(a)hibernate.org> wrote:
>
https://hibernate.onjira.com/browse/HHH-7490
>
> the problem is, envers needs to index its own annotations ( @Audited for example ),
but the current Integrator api only passes in a Metadata instance.
>
> so, we either pass in the Index or the MetadataImplementor has access to the all
mapping entities
>
> thoughts?
> -------------------------
> Best Regards,
>
> Strong Liu <stliu at hibernate.org>
>
http://about.me/stliu/bio
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/hibernate-dev
-------------------------
Best Regards,
Strong Liu <stliu at hibernate.org>
http://about.me/stliu/bio