[hibernate-dev] integrate Envers with new metamodel

Strong Liu stliu at hibernate.org
Tue Jul 31 16:49:57 EDT 2012


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