spring-projects / spring-projects/spring-data-relational
Ability to change default sql type mappings [DATAJDBC-526]
Open
@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:
- DATAJDBC-397 SpEL support for
@Queryannotation
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.