There is a similar discussion thread running: Java SDK @Id field cannot be null or empty - #3 by djordjevicnenad21