From 94c36922ac743c7cf0f0274d7ffc46a9b2fd12e6 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Mon, 15 Jan 2024 21:21:28 +0100 Subject: [PATCH] fix broken signature string of timestampdiff() --- .../org/hibernate/dialect/function/TimestampdiffFunction.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/function/TimestampdiffFunction.java b/hibernate-core/src/main/java/org/hibernate/dialect/function/TimestampdiffFunction.java index 0691d4c7f4..77a5cacca0 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/function/TimestampdiffFunction.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/function/TimestampdiffFunction.java @@ -167,7 +167,8 @@ public class TimestampdiffFunction @Override public String getReturnType() { - return longType + "|" + doubleType; + return longType.getJavaType().getSimpleName() + + "|" + doubleType.getJavaType().getSimpleName(); } }