From f1b6bec6ad8b939f78450e1d070737611ee63c77 Mon Sep 17 00:00:00 2001 From: Gail Badner Date: Fri, 1 Sep 2017 16:19:31 -0700 Subject: [PATCH] HHH-11957 : Fix to work with jdk 1.6 source (cherry picked from commit 2287bdd5e09b804a57e49753eb1a0ea547c6526d) --- .../org/hibernate/dialect/function/DB2SubstringFunction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/function/DB2SubstringFunction.java b/hibernate-core/src/main/java/org/hibernate/dialect/function/DB2SubstringFunction.java index fd9c5033aa..787ad14a6c 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/function/DB2SubstringFunction.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/function/DB2SubstringFunction.java @@ -30,7 +30,7 @@ import org.hibernate.type.StandardBasicTypes; * @author Gail Badner */ public class DB2SubstringFunction extends StandardSQLFunction { - private static final Set possibleStringUnits = new HashSet<>( + private static final Set possibleStringUnits = new HashSet( Arrays.asList( "CODEUNITS16", "CODEUNITS32", "OCTETS" ) );