KamoCRM

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

Fixkamo-shared-library
Shipped
24 மார்ச், 2026 அன்று 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?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing