[hibernate-dev] integrate Envers with new metamodel

Sanne Grinovero sanne at hibernate.org
Tue Jul 31 16:55:36 EDT 2012


Why is the "annotation indexing" discussion part of the metamodel?
I initially understood that a replacement of commons-annotations was
being developed, which would be nice for Search too as Search does not
and should not depend on Hibernate ORM.

Cheers,
Sanne

On 31 July 2012 23:49, Strong Liu <stliu at hibernate.org> wrote:
> 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 at 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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
>
> -------------------------
> Best Regards,
>
> Strong Liu <stliu at hibernate.org>
> http://about.me/stliu/bio
>


More information about the hibernate-dev mailing list