Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages