DATAREST-811 - Fix incorrect @Version documentation.
Original pull request: #295.
This commit is contained in:
committed by
Oliver Gierke
parent
10dedaefa3
commit
3960318d36
@@ -18,7 +18,7 @@ Consider the following example:
|
||||
include::{spring-data-rest-root}/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/support/ETagUnitTests.java[tag=versioned-sample]
|
||||
----
|
||||
|
||||
<1> Spring Data Commons's `@Version` annotation flags this field as a version marker.
|
||||
<1> The `@javax.persistence.Version` annotation flags this field as a version marker.
|
||||
====
|
||||
|
||||
The POJO in the preceding example, when served up as a REST resource by Spring Data REST, has an `ETag` header with the value of the version field.
|
||||
|
||||
Reference in New Issue
Block a user