Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-2020 Added SqlTypeResolver abstraction #2024

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mipo256
Copy link
Contributor

@mipo256 mipo256 commented Apr 5, 2025

Fixes #2020

I've introduced the SqlTypeResolver interface, and a default implementation of it - DefaultSqlTypeResolver.

Backward compatibility: I've removed the @Deprecated constructors. Apart from that, it seems that we're backward compatible, if I have not overlooked anything.

Note: I had to wrap the SqlTypeResolver with Lazy here. The reason is described in the ad-hoc comment and in this issue.

CC: @mp911de @schauder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement @SQLType annotation to support custom mapping of @Param parameters to java.sql.SQLType
2 participants