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();