pgjdbc/pgjdbc GitHub issues and pull requests (mirror)  
help / color / mirror / Atom feed
From: mEkdal (@mEkdal) <[email protected]>
To: pgjdbc/pgjdbc <[email protected]>
Subject: [pgjdbc/pgjdbc] issue #3424: Using postgresql-42.7.4.jar triggers PSQLException
Date: Fri, 25 Oct 2024 13:33:57 +0000
Message-ID: <[email protected]> (raw)

When using postgresql-42.7.4.jar the "org.postgresql.util.PSQLException: Unknown value for ResultSet type
Unknown value for ResultSet type" is triggered.

Java version: openjdk version "1.8.0_422"
OS Version: Microsoft Windows 11 Home. 10.0.22631 Build 22631
PostgreSQL Version:  "PostgreSQL 13.12, compiled by Visual C++ build 1914, 64-bit"

Is works in a number of earlier versions up to postgresql-42.7.3.jar

The statement looks like this:
Statement stmt = conn.createStatement(ResultSet.CONCUR_READ_ONLY,ResultSet.TYPE_FORWARD_ONLY,ResultSet.CLOSE_CURSORS_AT_COMMIT ); 

The values are the same in both 42.7.3 and 42.7.4 but fails in 42.7.4.
System.out.println(ResultSet.CONCUR_READ_ONLY+" "+ResultSet.TYPE_FORWARD_ONLY+" "+ResultSet.CLOSE_CURSORS_AT_COMMIT);
Result: 1007 1003 2


view thread (5+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: github://pgjdbc/pgjdbc
  Cc: [email protected], [email protected]
  Subject: Re: [pgjdbc/pgjdbc] issue #3424: Using postgresql-42.7.4.jar triggers PSQLException
  In-Reply-To: <<[email protected]>>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox