Skip to content

Improvements to clarify type using TypedParameterValue #2370

@heowc

Description

@heowc

When using a native query, null value binding behaves differently depending on the SQL driver.
(For example, I faced the following issue with hibernate + postgres combination. - https://hibernate.atlassian.net/browse/HHH-14778)

But since we know the type when we write methods in JpaRepository, we can use TypedParameterValue (or otherwise) to clearly know the type of the parameter.

This issue is derived from #2366.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions