Skip to content

Support for @Transient or transient [DATAJDBC-289] #514

@spring-projects-issues

Description

@spring-projects-issues

Moises Lejter opened DATAJDBC-289 and commented

We want to introduce Spring Data JDBC into one of our legacy projects, but ran into an issue where some of our VOs include properties in addition to those that are retrieved from the database and stored in the VO - but Spring JDBC errors out when trying to map a row from the corresponding table to the VO, since it doesn't find a column in the map corresponding to the additional properties in our VO.  We would like to be able to annotate these with either @Transient or just the Java transient qualifier, and have Spring Data JDBC ignore them when mapping a row to an entity


Affects: 1.0.2 (Lovelace SR2)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions