You're missing one part, how about custom event listeners. Hibernate
Search used to use those events and needed the entity instances for
example.
For the optimization, the JIRA issue has not been created AFAIK.
On Nov 11, 2007, at 17:00, Markus Heiden wrote:
Hi Emmanuel,
You need it for
Hi Emmanuel,
You need it for the post commit insert event.
I know, but during the execution of "post commit" code of the
EntityInsertAction only the id of the instance is needed and this should be
retrievable after a flush. So in all cases there is no need to keep the
reference to the insta