From 0d750fbe06ebda18612700107352d083d3e097d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Prante?= <joergprante@gmail.com> Date: Tue, 18 Mar 2025 17:46:33 +0100 Subject: [PATCH] fix TIMESTAMPTZ comparison --- jdbc-query/src/main/java/org/xbib/jdbc/query/DatabaseImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdbc-query/src/main/java/org/xbib/jdbc/query/DatabaseImpl.java b/jdbc-query/src/main/java/org/xbib/jdbc/query/DatabaseImpl.java index 9be55fc..94056d9 100644 --- a/jdbc-query/src/main/java/org/xbib/jdbc/query/DatabaseImpl.java +++ b/jdbc-query/src/main/java/org/xbib/jdbc/query/DatabaseImpl.java @@ -527,7 +527,7 @@ public class DatabaseImpl implements Database { for (int i = 0; i < classNames.size(); i++) { String columnTypeName = columnTypeNames.get(i).toString(); - if ("TIMESTAMPTZ".equals(columnTypeName)) { + if ("TIMESTAMPTZ".equalsIgnoreCase(columnTypeName)) { row.add(rows.getOffsetDateTimeOrNull(i + 1)); } else { String className = classNames.get(i).toString();