On Thu 2014-02-06 21:52, Hardy Ferentschik wrote: > > On 6 Jan 2014, at 15:10, Steve Ebersole <st...@hibernate.org> wrote: > > > On Thu, Feb 6, 2014 at 6:46 AM, Emmanuel Bernard > > <emman...@hibernate.org>wrote: > > > > Configuration.getreflectionManager (optional) > >> > > > > We do not use commons-annotations anymore at all (yaay!). If you need > > access to this type of functionality, I have been thinking about passing > > along access to the Jandex index we use. > > >> The class mappings is necessary for us as it offers the list of entities > >> we need to look at. From them, we bootstrap with the subsection that are > >> @Indexed entities. > >> > > > > "Mapping information" is MetadataImplementor. Though tbh it sounds like > > you really just want/need Jandex. > > +100 I think it might be time to address > https://hibernate.atlassian.net/browse/HSEARCH-1213 > and get rid of commons annotations and just consume the Jandex index resp. > build our own. > > The bigger road block for this atm is the programmatic configuration which > uses the proxy > annotations approach from commons annotations. However, with the new > metamodel we have > we should be able to instantiate the model classes directly and skip the > whole proxy business.
Which metamodel, the ORM one? Hibernate Search doesnot / cannot depend on ORM for that part (the programmatic API). Only the orm module can. _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev