@LastModifiedDate=@CreatedDate on creation

Would have like to have seen a way to be able to only fire this when I’m actually modifying something instead of creating it for the first time.

when it’s created for the first time @LastModifiedDate = @CreatedDate and I’d rather that @LastModifiedDate remained null when I’m only inserting.

This is the Hibernate ORM forum, not a Spring Data forum. These annotations are from Spring Data though, so please direct your question to the Spring team.

Right you are. Sorry about that.