Commits


Dane Pitkin authored and GitHub committed dbed728f840
GH-39189: [Java] Bump com.h2database:h2 from 1.4.196 to 2.2.224 in /java (#39188) ### Rationale for this change Dependabot flagged this upgrade, but it requires test code changes. H2 is an in-memory database used for JDBC testing and 2.0 had several backwards-breaking changes: https://h2database.com/html/migration-to-v2.html ### What changes are included in this PR? * h2database upgraded from 1.4.196 -> 2.2.224 * H2 changed VARCHAR description from `VARCHAR` to `CHARACTER VARYING` * To query all tables/columns in H2, use `null` values for catalog and schema parameters instead of `%` * H2 now returns Binary and Blob data as a byte array instead of hex values * H2 added the type `VARBINARY`. `Binary` must now be a fixed length and is padded with zeroes. * H2 `CHAR` is fixed length and pads with whitespace now * H2 enforces all `ARRAY`s must be typed * H2 changed the literal syntax for arrays to be `ARRAY[val1, val2, ...]` from `(val1, val2, ...)` * H2 handles unicode chars natively now * H2 connections' `createArrayOf` API handles null values differently now ### Are these changes tested? Unit tests. ### Are there any user-facing changes? No, only tests updated. * Closes: #39189 Authored-by: Dane Pitkin <dane@voltrondata.com> Signed-off-by: David Li <li.davidm96@gmail.com>