Use @CreationTimestamp(source=DB) on ****************

Fixkamo-shared-library
出荷済み
2026年4月27日 5:41 UTC
プロフィール
Kamo
コンテンツ
f2583e9

The DB is the single source of truth for timestamps in this codebase. The canonical Hibernate pattern is @CreationTimestamp(source = SourceType.DB), which makes Hibernate omit the column from INSERT, lets the DB stamp it, then SELECTs the value back into the entity. Replaces the @Generated(INSERT) + @ColumnDefault + insertable=false combo that was mechanically equivalent but did not match the projects standard @CreationTimestamp idiom.

すべての変更

配送を見るのが好きですか?

これらのアップデートは、自動的にワークスペースに埋め込まれます。 週1回無料スタートし、週1回生育する.

永遠に無料で始める料金を見る