Message-ID: From: "mEkdal (@mEkdal)" To: "pgjdbc/pgjdbc" Date: Thu, 29 May 2025 10:54:24 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #3426: 42.7.4 introduced error when binding java.io.FileInputStream In-Reply-To: References: List-Id: X-GitHub-Author-Login: mEkdal X-GitHub-Comment-Id: 2919041510 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3426 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/3426#issuecomment-2919041510 Content-Type: text/plain; charset=utf-8 I tested the 42.7.6 and the same problem that started in 42.7.4 was still present. However, changing the order of the parameters from _conn.createStatement(ResultSet.CONCUR_READ_ONLY,ResultSet.TYPE_FORWARD_ONLY,ResultSet.CLOSE_CURSORS_AT_COMMIT );_ to _conn.createStatement(ResultSet.TYPE_FORWARD_ONLY,ResultSet.CONCUR_READ_ONLY,ResultSet.CLOSE_CURSORS_AT_COMMIT );_ makes it work! Is this the solution? In that case I will have to scan my programs and change all of them, because I suspect the "wrong" order is every where.