Message-ID: From: "mEkdal (@mEkdal)" To: "pgjdbc/pgjdbc" Date: Tue, 12 Nov 2024 15:10:31 +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: 2470793914 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-2470793914 Content-Type: text/plain; charset=utf-8 package Jvakt; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; public class test07 { public static void main(String[] args) throws Exception { try (Connection con = DriverManager.getConnection( "jdbc:postgresql://localhost/Jvakt", "test", "test")) { Statement stmt = con.createStatement(ResultSet.CONCUR_READ_ONLY,ResultSet.TYPE_FORWARD_ONLY,ResultSet.CLOSE_CURSORS_AT_COMMIT ); stmt.executeQuery("create table streamtable (bin text, str text)"); } } }