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

Thanks for the report

Dave Cramer


On Fri, Oct 25, 2024 at 4:34 PM Michael Ekdal ***@***.***>
wrote:

> When using postgresql-42.7.4.jar the "org.postgresql.util.PSQLException:
> Unknown value for ResultSet type
> Unknown value for ResultSet type" is triggered.
>
> 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
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/pgjdbc/pgjdbc/issues/3424;, or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AADDH5QEYCMP55CI3NRXJQTZ5JCFXAVCNFSM6AAAAABQTJU2LG...;
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>


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