Hello, When comparing data, the following predicate worked until 6.1.7.Final:
SELECT p FROM MyTable p WHERE
INTERSECTS(p.spatialdata, TO_LINESTRING('2018-09-01 00:00:00','2018-09-01 23:59:59')) = 1
However, this query results in the following stacktrace:
We were able to work this around by changing the ‘1' to 'true’:
Also note that this hack is not necessary anymore since version 6.x because the right hand side can be omitted altogether:
|