spring-data-relational icon indicating copy to clipboard operation
spring-data-relational copied to clipboard

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

Open spring-projects-issues opened this issue 5 years ago • 0 comments
trafficstars

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

spring-projects-issues avatar Jan 23 '20 14:01 spring-projects-issues