我设置p6spy来显示所有SQL语句。但它没有为空间查询显示正确的SQL语句。这是一个例子:
select *
from ( select this_.myactivity_id as y0_
from mytable this_
where this_.start_time_local >= '2012-01-08 17:02:59.575'
and sdo_within_distance( this_.start_point
, 'oracle.sql.STRUCT@3848d632'
, 'DISTANCE=8845.042641272024 UNIT=meter ') = 'TRUE'
order by this_.start_time_gmt desc )
where rownum <= 10
空间对象表示为'oracle.sql.STRUCT@3848d632'。你知道怎么让它正确显示吗?
谢谢,