[hibernate-issues] [JIRA] (HHH-16576) problem in query involving union on MariaDB and Oracle