We're updating the issue view to help you get more done. 

Provide access to hibernate-core in SearchMapping @Factory method

Description

Developer of SearchMapping @Factory Method need sometimes access to the instance of org.hibernate.cfg.Configuration or EntityManagerFactory or FullTextEntityManager.
For example, to obtain the list of entities available in the current Persistence Unit.

It is reasonable to provide access at least to org.hibernate.cfg.Configuration, since it already exists before the HibernateSearchIntegrator calls SearchMapping @Factory Method.

Environment

None

Status

Assignee

Unassigned

Reporter

Maxim Frolov

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Priority

Major