HHH-13554 QueryAndSQLTest.testNativeQueryWithFormulaAttributeWithoutAlias() fails on MariaDB

(cherry picked from commit 1a5b401d09e6ede20152e5d5855ab8fa1b9e9163)
This commit is contained in:
Andrea Boriero 2019-08-13 16:08:36 +01:00 committed by Gail Badner
parent a95bbddd57
commit 68e89ba0dd

View File

@ -101,7 +101,7 @@ public void testNativeQueryWithFormulaAttributeWithoutAlias() {
sessionFactory() sessionFactory()
); );
String sql = String.format( String sql = String.format(
"select TABLE_NAME , %s from all_tables where TABLE_NAME = 'AUDIT_ACTIONS' ", "select TABLE_NAME , %s from ALL_TABLES where TABLE_NAME = 'AUDIT_ACTIONS' ",
dateFunctionRendered dateFunctionRendered
); );
Session s = openSession(); Session s = openSession();