[hibernate-issues] [Hibernate-JIRA] Closed: (HSEARCH-246) Run optimize at the end of the transaction even if flushToIndexes() is used