Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qlRGt-002n0y-E5 for pgsql-jdbc@arkaria.postgresql.org; Wed, 27 Sep 2023 09:55:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qlRGs-002fL9-2T for pgsql-jdbc@arkaria.postgresql.org; Wed, 27 Sep 2023 09:55:54 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qlRGr-002fKs-PY for pgsql-jdbc@lists.postgresql.org; Wed, 27 Sep 2023 09:55:53 +0000 Received: from mail-vk1-xa2d.google.com ([2607:f8b0:4864:20::a2d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qlRGk-006uEB-W0 for pgsql-jdbc@postgresql.org; Wed, 27 Sep 2023 09:55:52 +0000 Received: by mail-vk1-xa2d.google.com with SMTP id 71dfb90a1353d-48feedb90d2so3725335e0c.1 for ; Wed, 27 Sep 2023 02:55:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695808546; x=1696413346; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=enATh++zg82xBcdcNNaBIgUJAdAe9r9AidCmT9fiU0U=; b=iZGbq2F9cCSr4OFaMKl15CWn3BPGiW76D+ilm0BPJdqVi0gVqxsPyX9at97kr99Sru xGfsrbho8TuSzwQf2nZD2eNdePE4SSmMg5LsR1O646Gl0EeqZG7nWMFZYZLf82YwGv1D GlpiHCwfzwJ9atFRpzm00uRCptl+udUZ2qHyCZaVtvR1GD5Cd2cWi4gfhpbbTj3Xbsyi d891h6Z5dnNajDdDyfi8jk2SPedYV0HrUiJIIwCqNtKEp+gmM08rKQTA5T5GhIwW802h /v8EIM13xXpcF5bShdgsjqyUIxVYrHW4QK3kx2wfEs2DfjCCO5RCen9djeyL+ZD/BreF VWPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695808546; x=1696413346; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=enATh++zg82xBcdcNNaBIgUJAdAe9r9AidCmT9fiU0U=; b=fqnBu8oHCEjiIUw2l3Yd2Gq9AE9ShOhPw5axXr4+dVG09YGWEQEkz/HRE2hELvEsL3 c+H5y/8LKxhebl71SjTKHh/arl7V783jLemKSpRBTZ6LmBa+EjEWF1wOhGstqxwIMDEk 2yN427Ivcj/0RzHDOXzB3+PHKBlUW60zA9XagYllLH9hhceFMXFEBiYZua6KBMb3fek2 IXTd1OWe8eJtrHUlq+rOWJnd0WtGx8qdpk3nBq5RO9sN76NTzl8PLJmZySjg/Jzv6gMQ OV2FZlySy9XMZgqrOhHqsW+akH7fznVIlyZLedMdrEJaKRIRxhc6k+Tz2DPHPpUjLjRm CPaA== X-Gm-Message-State: AOJu0YyK0v/iA05vt8aJp/Pg4jmXVGVno7mIciFnbtiomq+vgVUIcY0H AkCVa+wixfGYy5udCa/RPgM7UOmH3BSheavjnu6KsJ48KtY= X-Google-Smtp-Source: AGHT+IGLuEZvvRadu/djK9/P0C+YMduB9DF1zKlc01ES8bHvRLK/5MQaxC9jO4GNf0686X16Wnm9oSTPFFLtz0rknFA= X-Received: by 2002:a1f:6283:0:b0:49a:1605:ee6a with SMTP id w125-20020a1f6283000000b0049a1605ee6amr1510151vkb.5.1695808546040; Wed, 27 Sep 2023 02:55:46 -0700 (PDT) MIME-Version: 1.0 References: <8d8ea6c9-85a6-d1b8-309d-b1f5bc590840@cloud.gatewaynet.com> In-Reply-To: From: Vladimir Sitnikov Date: Wed, 27 Sep 2023 12:55:35 +0300 Message-ID: Subject: Re: Regarding useObjects To: Dave Cramer , Achilleas Mantzios - cloud Cc: pgsql-jdbc@postgresql.org Content-Type: multipart/alternative; boundary="000000000000fe6fd70606543151" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000fe6fd70606543151 Content-Type: text/plain; charset="UTF-8" > So the problem with using float instead of Float is that it is impossible to have a null float and arrays can have nulls. There's a feature request for retrieving primitive arrays: https://github.com/pgjdbc/pgjdbc/issues/2939 Vladimir --000000000000fe6fd70606543151 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> So the problem with using float instead of Float= is that it is impossible to have a null float and arrays can have nulls.

There's a feature request for retrieving primiti= ve arrays: https:/= /github.com/pgjdbc/pgjdbc/issues/2939

Vladimir

--000000000000fe6fd70606543151--