To implement this we need to consider the SearchMapping code does not depend on Hibernate ORM (and will not).
We need to think how to provide some kind of generic boot context available to the SearchMapping factory: providing a ORM Configuration instance would be the main use case but it could be useful to extract other components.
If the ServiceRegistry is independent from the SearchMapping, we could make sure the ServiceRegistry is initialized first and made available to such factory, and the ORM Configuration could be something you can lookup from there.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
To implement this we need to consider the SearchMapping code does not depend on Hibernate ORM (and will not).
We need to think how to provide some kind of generic boot context available to the SearchMapping factory: providing a ORM Configuration instance would be the main use case but it could be useful to extract other components.
If the ServiceRegistry is independent from the SearchMapping, we could make sure the ServiceRegistry is initialized first and made available to such factory, and the ORM Configuration could be something you can lookup from there.