Commits

Micha Kops committed 61c983b

BlogEntry entity fixed

  • Participants
  • Parent commits a136b48

Comments (0)

Files changed (1)

src/main/java/com/hascode/tutorial/jee6/blog/entity/BlogEntry.java

 
 	@Past
 	@Temporal(TemporalType.TIMESTAMP)
-	private Date				created;
+	private Date				created				= new Date();
 
 	@PrePersist
 	private void onCreate() {