Message-ID: From: "JavaUnchained (@JavaUnchained)" To: "pgjdbc/pgjdbc" Date: Mon, 28 Oct 2024 10:47:00 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #3396: SQLData Support In-Reply-To: References: List-Id: X-GitHub-Author-Login: JavaUnchained X-GitHub-Comment-Id: 2441233854 X-GitHub-Comment-Type: issue_comment X-GitHub-Edited-At: 2024-10-28T14:22:53Z X-GitHub-Issue: 3396 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/3396#issuecomment-2441233854 Content-Type: text/plain; charset=utf-8 It also seems to me that if (type == Byte.class ) there is not enough primitive type checking, which is available for all types except byte. Something like this: ``` if (type == Byte.class || type == byte.class) { return (SQLFunction) byteConv; } ``` In the getConverter. We are checking Array. Should we also check SQLXML there? p.s I'm sorry for writing this here. I'm just very interested in the functionality that you've implemented.