2 Replies Latest reply on Oct 4, 2013 3:44 PM by Axtzel

    ODI-1228 CKM Hypersonic SQL

    76ac2290-b565-4029-9b0e-4e69120b7d17

      Hi Everyone!, I have a problem with this issue, in trying to execute next task:

       

      ODI-1228: Task Error TRG_CUSTOMER (Control) in target HYPERSONIC_SQL connection HSQL_LOCALHOST_20002.

      Caused By: java.sql.SQLException: unknown word

        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)

        at org.hsqldb.jdbc.JDBCPreparedStatement.<init>(Unknown Source)

        at org.hsqldb.jdbc.JDBCConnection.prepareStatement(Unknown Source)

        at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter$OnDisconnectCommandExecutionHandler.invoke(OnConnectOnDisconnectDataSourceAdapter.java:200)

        at $Proxy2.prepareStatement(Unknown Source)

        at oracle.odi.runtime.agent.execution.sql.SQLCommand.doInitializeStatement(SQLCommand.java:83)

        at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:117)

        at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:111)

        at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:158)

        at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)

        at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)

        at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)

        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)

        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)

        at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)

        at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)

        at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)

        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)

        at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)

        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)

        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)

        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)

        at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)

        at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)

        at java.lang.Thread.run(Thread.java:662)

       

      This is the code we try to execute, seems that the problem is with the " in the midle of the table name, I don't know if there's a way to remove this [ " ] or set it at the begining of the table name:

       

      create tableW$_UK_"I$_TRG_CUSTOMER"

      (

      CUST_IDNUMERIC(10) NULL,
      DEARVARCHAR(4) NULL,
      CUST_NAMEVARCHAR(50) NULL,
      ADDRESSVARCHAR(100) NULL,
      CITY_IDNUMERIC(10) NULL,
      PHONEVARCHAR(50) NULL,
      AGENUMERIC(3) NULL,
      AGE_RANGEVARCHAR(50) NULL,
      SALES_PERSVARCHAR(50) NULL,
      CRE_DATEDATE NULL,
      UPD_DATEDATE NULL,
      UK_NBnumeric(10)

      )

       

      We're using ODI 11.1.1.7, Hypersonic SQL 2.0.0, Windows 32 bits

       

      Hope anyone can help us, Thanks!

       

      p.d.: sorry my english is not very fluent