Message-ID: From: "anatoly-spb (@anatoly-spb)" To: "pgjdbc/pgjdbc" Date: Sat, 22 Oct 2022 08:20:42 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #2648: Fix getObject(int, class) In-Reply-To: References: List-Id: X-GitHub-Author-Login: anatoly-spb X-GitHub-Comment-Id: 1002407460 X-GitHub-Comment-Type: review_comment X-GitHub-Commit: 55b49295abfee54d3d5a930d9339cbf7d20a583b X-GitHub-Issue: 2648 X-GitHub-Line: 662 X-GitHub-Path: pgjdbc/src/main/java/org/postgresql/jdbc/PgCallableStatement.java X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: review_comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/2648#discussion_r1002407460 Content-Type: text/plain; charset=utf-8 (on pgjdbc/src/main/java/org/postgresql/jdbc/PgCallableStatement.java:662) It seems to me the {1} substitution does not work as you can see in stack trace: ``` org.postgresql.util.PSQLException: Unsupported type conversion to {1}. at org.postgresql.jdbc.PgCallableStatement.getObject(PgCallableStatement.java:663) ```