Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yes, the use of javax.persistence.EntityManager is required for Hibernate Search as it provides the entry point to query and interact with the entity objects that are being indexed and searched. It also ensures that the indexing and search operations are synchronized with the underlying database transactions.