From 68e89ba0dd7a46fb92ac65a72f040492021c2c8b Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Tue, 13 Aug 2019 16:08:36 +0100 Subject: [PATCH] HHH-13554 QueryAndSQLTest.testNativeQueryWithFormulaAttributeWithoutAlias() fails on MariaDB (cherry picked from commit 1a5b401d09e6ede20152e5d5855ab8fa1b9e9163) --- .../org/hibernate/test/annotations/query/QueryAndSQLTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/test/java/org/hibernate/test/annotations/query/QueryAndSQLTest.java b/hibernate-core/src/test/java/org/hibernate/test/annotations/query/QueryAndSQLTest.java index d0829930ee..97d48e9c66 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/annotations/query/QueryAndSQLTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/annotations/query/QueryAndSQLTest.java @@ -101,7 +101,7 @@ public void testNativeQueryWithFormulaAttributeWithoutAlias() { sessionFactory() ); 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 ); Session s = openSession();