Details
Assignee
UnassignedUnassignedReporter
Max BethmannMax BethmannComponents
Sprint
NoneAffects versions
Priority
Major
Details
Details
Assignee
Unassigned
UnassignedReporter
Max Bethmann
Max BethmannComponents
Sprint
None
Affects versions
Priority
Created September 8, 2023 at 12:08 PM
Updated February 26, 2024 at 3:40 PM
The documentation of the SQLServerDialect class says it works for SQL Server 2008 and above, however it utilizes DATEDIFF_BIG which is only available in SQL Server 2016 and above. See MS docs here.
Our application has a JPA Query using DATEDIFF which is translated to DATEDIFF_BIG by the SQLServerDialect.
The DATEDIFF in our case is comparing days, I see no reason why we should compare days using DATEDIFF_BIG.
This is quite a large issue for us, since one of our customers is still using SQL Server 2012 and now unable to open the dashboard without encountering an error due to the exception cause by this issue.