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;