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

Fixkamo-shared-library
Ya
27 Aprili 2026, 05:41 UTC
Mwandishi
Kamo
Ahadi ya
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.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei