Skip to content

Add UUID conversion to class-specific results get#243

Merged
staticlibs merged 1 commit intoduckdb:mainfrom
staticlibs:uuid_col
Jun 3, 2025
Merged

Add UUID conversion to class-specific results get#243
staticlibs merged 1 commit intoduckdb:mainfrom
staticlibs:uuid_col

Conversation

@staticlibs
Copy link
Collaborator

Result set method getObject(idx, class) requires the driver to convert the requested value to the specified class. This PR java.util.UUID conversion that was missed there.

Fixes: #240

Result set method `getObject(idx, class)` requires the driver to
convert the requested value to the specified class. This PR
`java.util.UUID` conversion that was missed there.

Fixes: duckdb#240
@staticlibs staticlibs merged commit 682cc2d into duckdb:main Jun 3, 2025
10 checks passed
@staticlibs staticlibs deleted the uuid_col branch June 3, 2025 15:47
staticlibs added a commit to staticlibs/duckdb-java that referenced this pull request Jun 15, 2025
This is a backport of the PR duckdb#243 to `v1.3-ossivalis` stable branch.

Result set method `getObject(idx, class)` requires the driver to
convert the requested value to the specified class. This PR
`java.util.UUID` conversion that was missed there.

Fixes: duckdb#240
staticlibs added a commit that referenced this pull request Jun 15, 2025
This is a backport of the PR #243 to `v1.3-ossivalis` stable branch.

Result set method `getObject(idx, class)` requires the driver to
convert the requested value to the specified class. This PR
`java.util.UUID` conversion that was missed there.

Fixes: #240
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JDBC 4.1? - Calling "resultSet.getObject(<index>, UUID.class)" fails but "(UUID) resultSet.getObject(<index>)" works

1 participant