From 264b0be40e4a31293e70c39438a107920be9c19f Mon Sep 17 00:00:00 2001 From: Gail Badner Date: Wed, 21 Jan 2015 16:52:55 -0800 Subject: [PATCH] HHH-9523 : EnumeratedTypeTest - select from dual causes test failures on mssql, postgresql, db2 and sybase --- .../org/hibernate/test/annotations/enumerated/EntityEnum.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/test/java/org/hibernate/test/annotations/enumerated/EntityEnum.java b/hibernate-core/src/test/java/org/hibernate/test/annotations/enumerated/EntityEnum.java index dbb67a9616..5fa7eae9d6 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/annotations/enumerated/EntityEnum.java +++ b/hibernate-core/src/test/java/org/hibernate/test/annotations/enumerated/EntityEnum.java @@ -55,7 +55,7 @@ public class EntityEnum { @Enumerated(EnumType.STRING) private Trimmed trimmed; - @Formula("(select 'A' from dual)") + @Formula("upper('a')") @Enumerated(EnumType.STRING) private Trimmed formula;