Message-ID: From: "davecramer (@davecramer)" To: "pgjdbc/pgjdbc" Date: Fri, 25 Oct 2024 14:02:33 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #3424: Using postgresql-42.7.4.jar triggers PSQLException In-Reply-To: References: List-Id: X-GitHub-Author-Login: davecramer X-GitHub-Comment-Id: 2437867104 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3424 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/3424#issuecomment-2437867104 Content-Type: text/plain; charset=utf-8 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 > , or unsubscribe > > . > You are receiving this because you are subscribed to this thread.Message > ID: ***@***.***> >