JPA: Set column to DB timestamp, but only if the entity field it's filled

前端 未结 0 979
灰色年华
灰色年华 2020-12-16 17:04

I have an entity with a Date column which i want to be filled with the current DB timestamp, but only if the entity field it\'s not null

I know about the @UpdateTimes

相关标签:
回答
  • 消灭零回复
提交回复
热议问题