1

我将 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”。你知道如何让它正确显示吗?

谢谢,

4

0 回答 0