DbNow() use CAST(now() AS timestamp), not now()::timestamp

Fixkamo-shared-library
Shipped
July 7, 2026 at 4:58 PM UTC
Author
Kamo
Commit
ba3dad1

The ::timestamp shorthand is mangled by Hibernate's native-query parser (it reads ':' as a named-parameter prefix, turning ::timestamp into :timestamp) -> CRDB 'at or near ":"' syntax error, so dbNow() still threw on every lock acquire/ heartbeat/sweep and task create. SQL-standard CAST(...) has no colons. Verified against live CRDB: returns 'timestamp without time zone'.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing