spring-data-relational
spring-data-relational copied to clipboard
Documentation should be clear about @Version on save() [DATAJDBC-477]
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