![](/img/trans.png)
[英]what's the difference between classpath and classpath* in spring boot?
[英]What's the difference between @CreationTimestamp and @CreatedDate in Spring boot jpa?
@Entity
public class Foo {
@CreatedDate
private LocalDateTime createdDateTime;
@CreationTimestamp
private LocalDateTime creationTimestamp;
}
在 Spring 啟動實體 class
我不知道用哪一個
有什么不同?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.