[hibernate-issues] [JIRA] (HSEARCH-2445) Improve error handling