KamoCRM

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

Fixkamo-shared-library
Змішані
27 квітня 2026 р. о 05: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.

Всі зміни

Як ви бачите відправлення?

Все це прибуває в робочому просторі. Почати безкоштовно план і читати цю сторінку знову в місяць.

БезкоштовноПерегляд цін