Skip to content

mtumilowicz/hibernate-timestamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hibernate-timestamp

Short introduction to CreationTimestamp and UpdateTimestamp.

preface

  • @CreationTimestamp - the property value will be set to the current VM date exactly once when saving the owning entity for the first time.
  • @UpdateTimestamp - the property value will be set to the current VM date whenever the owning entity is updated.

Java 8 Date API is fully supported:

  • LocalDate
  • LocalDateTime
  • LocalTime

project description

In AppRunner we add customer and check creationTimestamp, then we modify pre-existing customer and check updateTimestamp.

About

Short introduction to CreationTimestamp and UpdateTimestamp.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages