Skip to content

Documentation should be clear about @Version on save() [DATAJDBC-477] #704

@spring-projects-issues

Description

@spring-projects-issues

eiswind opened DATAJDBC-477 and commented

Setting @Version annotated property to 0 will mark the entity as new too. At least I would guess that from the code and this gets mentioned in other spring data implementations.

 

It would be great to add that to the docs.

 

 


Affects: 1.1.4 (Moore SR4)

Reference URL: https://docs.spring.io/spring-data/jdbc/docs/1.1.4.RELEASE/reference/html/#jdbc.entity-persistence.id-generation

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions