SpringSource/spring-data-commons — pull request #37 by beamerblvd (2013-08-10 03:29:47+00:00)
Title: Ensuring isNew supports primitive ID types

`AbstractEntityInformation`'s `isNew` method returns `true` only if the ID attribute is `null`. Primitive attributes can never be `null`. This change also returns `true` if the ID is a `java.lang.Number` less than 1, which is the convention for unassigned primitive IDs.

Issue: DATACMNS-357