Use native query for avg resolution time to avoid Hibernate EXTRACT(EPOCH) limitation

Fixkamo-shared-library
Shipped
March 24, 2026 at 5:51 AM UTC
Author
Kamo
Commit
f63763b

Hibernate 6 cannot apply EXTRACT(EPOCH FROM ...) to a timestamp subtraction (produces Duration type, not TEMPORAL). Switched to a native SQL query that CockroachDB handles natively.

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