为什么p6spy没有为Oracle显示正确的空间查询?

时间:2012-02-07 17:28:53

标签: oracle oracle-spatial p6spy

我设置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'。你知道怎么让它正确显示吗?

谢谢,

0 个答案:

没有答案