Remove @Version from created since it should not be updated

This also works around DATAJPA-582
This commit is contained in:
Rob Winch 2014-08-01 14:03:27 -05:00
parent 3e8c879cea
commit 4f936c4c51
2 changed files with 0 additions and 2 deletions

View File

@ -34,7 +34,6 @@ public class Message {
@NotEmpty(message = "Summary is required.")
private String summary;
@Version
private Calendar created = Calendar.getInstance();
@OneToOne

View File

@ -22,7 +22,6 @@ public class Message {
@NotEmpty(message = "Summary is required.")
private String summary;
@Version
private Calendar created = Calendar.getInstance();
public Long getId() {