[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-3766) Modify the queries executed to use the "end-revision" column, when available