2 tianyufeixiang9 tianyufeixiang9 于 2013.11.09 15:20 提问

KETTLE SQLSERVER到ORACLE 数据迁移问题 IMAGE类型转BLOB

最近需要从SQLSERVER中向ORACLE中做数据迁移,遇到sqlserver中字段类型为image,向oracle中转化为blob 类型,增加了字段选择,不知道怎么操作,老是报错,求解,错误信息如下:
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : Unexpected error
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : org.pentaho.di.core.exception.KettleDatabaseException:
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : Couldn't get row from result set
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) :
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : Unable to get value 'String(9999999)' from database resultset, index 12
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : 不支持的特性
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) :
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) :
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at org.pentaho.di.core.database.Database.getRow(Database.java:2824)
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at org.pentaho.di.core.database.Database.getRow(Database.java:2796)
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at org.pentaho.di.core.database.Database.getRow(Database.java:2770)
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at org.pentaho.di.trans.steps.tableinput.TableInput.doQuery(TableInput.java:257)
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at org.pentaho.di.trans.steps.tableinput.TableInput.processRow(TableInput.java:143)
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at org.pentaho.di.trans.step.RunThread.run(RunThread.java:50)
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at java.lang.Thread.run(Thread.java:722)
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : Caused by: org.pentaho.di.core.exception.KettleDatabaseException:
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : Unable to get value 'String(9999999)' from database resultset, index 12
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : 不支持的特性
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) :
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at org.pentaho.di.core.database.BaseDatabaseMeta.getValueFromResultSet(BaseDatabaseMeta.java:1900)
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at org.pentaho.di.core.database.DatabaseMeta.getValueFromResultSet(DatabaseMeta.java:2613)
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at org.pentaho.di.core.database.Database.getRow(Database.java:2816)
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : ... 6 more
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : Caused by: java.sql.SQLException: 不支持的特性
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at oracle.jdbc.driver.DatabaseError.throwUnsupportedFeatureSqlException(DatabaseError.java:499)
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at oracle.jdbc.driver.ClobAccessor.getBytes(ClobAccessor.java:279)
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at oracle.jdbc.driver.OracleResultSetImpl.getBytes(OracleResultSetImpl.java:708)
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : at org.pentaho.di.core.database.BaseDatabaseMeta.getValueFromResultSet(BaseDatabaseMeta.java:1868)
2013/11/09 15:16:34 - 接收方数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : ... 8 more
2013/11/09 15:16:34 - 接收方数据库.0 - Finished reading query, closing connection.
2013/11/09 15:16:34 - 接收方数据库.0 - 完成处理 (I=0, O=0, R=0, W=0, U=0, E=1
2013/11/09 15:16:34 - CY_HD_YCCYFZSQB - CY_HD_YCCYFZSQB
2013/11/09 15:16:34 - CY_HD_YCCYFZSQB - CY_HD_YCCYFZSQB
2013/11/09 15:16:34 - 源数据库.0 - Finished reading query, closing connection.
2013/11/09 15:16:34 - 源数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : Unexpected error closing query : org.pentaho.di.core.exception.KettleDatabaseException:
2013/11/09 15:16:34 - 源数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : Couldn't close query: resultset or prepared statements
2013/11/09 15:16:34 - 源数据库.0 - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : Cancel has been invoked on this Statement.
2013/11/09 15:16:34 - 源数据库.0 - 完成处理 (I=2, O=0, R=0, W=0, U=0, E=1
2013/11/09 15:16:34 - Spoon - 转换完成!!
2013/11/09 15:16:34 - CY_HD_YCCYFZSQB - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : 错误被检测到!
2013/11/09 15:16:34 - CY_HD_YCCYFZSQB - ERROR (version 4.3.0, build 1 from 2012-07-24 10.59.03 by Administrator) : 错误被检测到!

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!