[hibernate-dev] API/SPI in 5.0

Hardy Ferentschik hardy at hibernate.org
Thu Feb 6 15:52:44 EST 2014


On 6 Jan 2014, at 15:10, Steve Ebersole <steve at hibernate.org> wrote:

> On Thu, Feb 6, 2014 at 6:46 AM, Emmanuel Bernard <emmanuel at 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.


—Hardy


More information about the hibernate-dev mailing list