在9i环境下没有任何问题,但是在10g中 对于要监听的表 表名长度超过23,在运行到如下语句时就会出错: 
--设置CDC窗口 Step #5 Set the Boundaries to See New Data 
    dbms_cdc_subscribe.extend_window(subscription_handle =>  table_rec.handle); 错误提示: 
         oracle.jdbc.driver.OracleSQLException: ORA-00972: 标识符过长 
         ORA-06512: 在 "SYS.DBMS_CDC_UTILITY", line 226 
        ORA-06512: 在 line 1 
at oracle.jdbc.driver.T2SConnection.check_error(T2SConnection.java:153) 
at oracle.jdbc.driver.T2SCallableStatement.checkError(T2SCallableStatement.java:92) 
at oracle.jdbc.driver.T2SCallableStatement.executeForRows(T2SCallableStatement.java:449) 
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1294) 
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3514) 
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3620) 
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:5261) 
at oracle.CDC.SubscriptionWindow.qccsero(SubscriptionWindow.java:759) 
at oracle.CDC.SubscriptionWindow.extendWindow(SubscriptionWindow.java:337) 
at oracle.CDC.SubscribeApi.extendWindow(SubscribeApi.java:428) 
对于要监听的表长度 <23的时候没有问题,超过23就会出现此问题。但是在9i中 无论表的长度都没有问题,是不是10g中做了什么改动?希望各位大虾帮帮小弟, 谢谢!!