Skip to content

Commit 94c3692

Browse files
committed
fix broken signature string of timestampdiff()
1 parent 6ede95f commit 94c3692

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hibernate-core/src/main/java/org/hibernate/dialect/function/TimestampdiffFunction.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ public BasicValuedMapping resolveFunctionReturnType(
167167

168168
@Override
169169
public String getReturnType() {
170-
return longType + "|" + doubleType;
170+
return longType.getJavaType().getSimpleName()
171+
+ "|" + doubleType.getJavaType().getSimpleName();
171172
}
172173
}
173174

0 commit comments

Comments
 (0)