diff --git a/core/src/main/java/org/hibernate/dialect/DB2Dialect.java b/core/src/main/java/org/hibernate/dialect/DB2Dialect.java index eb9f005ece..d163da125b 100644 --- a/core/src/main/java/org/hibernate/dialect/DB2Dialect.java +++ b/core/src/main/java/org/hibernate/dialect/DB2Dialect.java @@ -195,6 +195,10 @@ public class DB2Dialect extends Dialect { return true; } + public boolean supportsPooledSequences() { + return true; + } + public String getQuerySequencesString() { return "select seqname from sysibm.syssequences"; }