spring-projects/spring-data-jpa — pull request #103 by christophstrobl (2014-07-10 11:41:38+00:00)
Title: DATAJPA-568 - Fix persistence when having primitive type as @Version.

We now fall back to comparing the entities id against `null` in case of using a primitive type as `@Version` property.