diff --git a/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TeradataSqlAstTranslator.java b/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TeradataSqlAstTranslator.java index 717aeb22a583..27282c3df123 100644 --- a/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TeradataSqlAstTranslator.java +++ b/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TeradataSqlAstTranslator.java @@ -41,9 +41,7 @@ public void visitQuerySpec(QuerySpec querySpec) { forUpdateClause.merge( getLockOptions() ); super.renderForUpdateClause( querySpec, forUpdateClause ); } - else { - super.visitQuerySpec( querySpec ); - } + super.visitQuerySpec( querySpec ); } @Override