spring-projects / spring-projects/spring-data-relational

Ability to change default sql type mappings [DATAJDBC-526]

Open
#746 4 comments 0 reactions 1 assignee View on GitHub

@schauder is already working on this.

Since Dec 31, 2020.

type: enhancement
Dominant language
Java
Stars
827
Forks
394
PR merge metrics
No merged PRs in 30d

Description

Alexander Gladskoy opened DATAJDBC-526 and commented

Please provide ability to bind parameter to non-default sql-type.
For example I have this code

@Query("update someTable set stringAttr = :stringAttr where id = :id")
int updateString(@Param("id") long id, @Param("stringAttr") String stringAttr);

And I want the parameter stringAttr to be binded to NVARCHAR instead of default VARCHAR


Issue Links:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.