ODI-1228 CKM Hypersonic SQL

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 table
W$_UK_"I$_TRG_CUSTOMER"
CUST_ID
NUMERIC(10) NULL,
DEAR
VARCHAR(4) NULL,
CUST_NAME
VARCHAR(50) NULL,
ADDRESS
VARCHAR(100) NULL,
CITY_ID
NUMERIC(10) NULL,
PHONE
VARCHAR(50) NULL,
AGE
NUMERIC(3) NULL,
AGE_RANGE
VARCHAR(50) NULL,
SALES_PERS
VARCHAR(50) NULL,
CRE_DATE
DATE NULL,
UPD_DATE
DATE NULL,
UK_NB
numeric(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

Hi there..!!
I had same issue at running demo environment,
Some versions of "Hypersonic SQL" is case sensitive..
Im tried to set CKM values as show on ODI Overview ( http://www.oracle.com/technetwork/middleware/data-integrator/overview/odigs-11g-168072.pdf )..
just change "CKM HSQL is selected"  to CKM SQL .. and execute..!
it works for me..!
Regards..!!
&Your english is good

Similar Messages

  • Default Data Server for Hypersonic SQL in ODI 11g

    Hi All,
    I installed ODI 11g 11.1.1.6.0 for Win 7 with 10g DB R2 and WLS 10.3.5 successfully without any issues.
    Created DEV_ODI_REPO Repository also without any issues.
    Created Master Repository snpm1 and Work Repository as snpw1.
    Created the Agents (Physical and Logical) and tested successfully.
    Created the data servers for respective technologies
    1) Technology Oracle -
        Data Server - ORACLE_ORCL_LOCAL 
        Physical Schemas - SALES_DEV & SALES_PROD and
        Logical Schema as ORACLE_ORCL_LOCAL_SALES
    2) Technology FILE -
        Data Server - FILE_GENERIC
        Physical Schema - FILE_GENERIC.E:/oracle/Middleware/Oracle_ODI1/oracledi/demo/file
        Logical Schema - FILE_DEMO_SRC
    3) Technology - XML
         Data Server - XML FILE
         Physical Schema - GEO_D
        Logical Schema - GEO_DIM
    4) Technology - Hypersonic SQL
         Data Server - HSQL   (Is this the correct name or some other name is recommended ? )
         Physical Schema - HSQL_LOCALHOST_20001_Default and HSQL_LOCALHOST_20001_Default
        Logical Schema - HSQL_DEMO_SRC and HSQL_DEMO_TARG
    All the Mappings are done properly using Development & Production context for Physical and Logical Schemas.
    I am able to create the Models for Oracle, FIle and XML with successful Reverse Engineering (standard with development context )
    with all the data displayed correctly.
    The issue starts here
    The Main issue is for Hypersonic SQL where I am not able to get the Reverse Engineering.
    Technology - Hypersonic SQL  I have defined the data server as HSQL
    Is this correct data server or some other name for data server is suggested ?
    I am able to start the startdemo.bat file successfully opening the 3 dos prompt windows as
    a) Oracle DI Demo - Repository Server
    b) Oracle DI Demo - Source Server
    c) Oracle DI Demo - Target Server
    Later I make  entries on the JDBC tab od HSQL - Data Server as
    JDBC Driver : org.hsqldb.jdbc.JDBCDriver
    JDBC Url : jdbc:hsqldb:hsql://localhost
    Test Connection - ok with successful connection.
    Prior to this I already run the script created schemas and inserted data to the SRC_ tables in my 10g Database as
    ORDERS - containing the Tables as SRC_CITY, SRC_CUSTOMER, SRC_PRODUCT, SRC_REGION.....
    In the Designer I create a new Model as HSQL_SRC
    Technology - Hypersonic SQL
    Logical Schema - HSQL_DEMO_SRC as defined earlier in logical schema.
    Reverse Engineer Tab - Selected as Standard   Context selected as Development from drop down list.
    When I right click on HSQL_SRC model for reverse engineer, it executes, however it does not display any tables inserted
    as shown for ORDERS Schema.
    Please correct me where I am wrong in giving the name for data server ? or some other place.
    Thanks
    Ajaz

    Hi,
    according to docs
    http://docs.oracle.com/cd/E23943_01/integrate.1111/e12644/hypersonic_sql.htm#ODIKM590
    i see
    JDBC Driver: org.hsqldb.jdbcDriver
    JDBC URL: jdbc:hsqldb:hsql://<host>:<port>
    could you modify
    JDBC Driver : org.hsqldb.jdbc.JDBCDriver
    JDBC Url : jdbc:hsqldb:hsql://localhost
    according to docs?
    Thanks

  • ODI-1228: Task SrcSet0 (Loading) fails on the target ORACLE connection

    Hi all. I am using ODI for the first time. Trying to import a flat file data into Oracle table.
    Flat file has 4 columns Empno,Ename,Deptno,Salary [2 rows]
    so is the Target Table in Oracle [All are VARCHAR2 data type] --Empty table
    I am using these KMs: CKM Oracle , IKM SQL CONTROL APPEND, LKM FILE TO SQL.
    When I execute this Interface, it fails with the following error message:
    ODI-1228: Task SrcSet0 (Loading) fails on the target ORACLE connection [Connection_Name]
    Caused By: java.sql.SQLSyntaxErrorException: ORA-00904: : invalid identifier
    I checked the Code and Source Code is null , Target Code is: Create Table schema.Load_{table_name} ( )
    With no columns in it.
    Can anyone help? I am using Oracle ODI 11G (11.1.1)
    Thanks in advance

    Hi,
    if i remember well ( i haven't ODI opened) LKM FILE TO SQL. needs to have all mapping done into staging area. Click on a column, check Staging Area symbol (hammer), save and re-execute.
    Remember to check that your mapping is enabled (just click on a column, first checkbox in property inspector)
    If it doesn't work please make some screenshot or at least post your execution code.
    Let us know

  • ODI-1228: ORA-22950: cannot ORDER objects without MAP or ORDER method

    Simple interface between two schemas in the same oracle database (10g)
    I am trying to copy one table and do one simple lookup (in a table located in 3rd schema on the same database)
    Integration task fails on
    ODI-1228: Task messagexml_document (Integration) fails on the target ORACLE connection S2_P1.
    Caused By: java.sql.SQLException: ORA-22950: cannot ORDER objects without MAP or ORDER method
    Can anybody tell me, what I am doing wrong? Code that generate this error is just a simple INSERT with SELECT and sub SELECT with JOIN?
    I just can't find anything about this error.
    I'm stuck :-(

    I discovered that one of my fields is an XMLType field and is a part of comparison ODI do when it tries to do incremental update. The error message here is just a message from db that it can't compare XMLType fields to each other.
    Is there any way to learn ODI to not to compare by XMLType field?

  • ODI-1228: Task SrcSet0 (Loading) fails on the target MICROSOFT_EXCEL connec

    Hi
    i am trying to exporting the database table data into excel sheet i am getting the below error.
    ODI-1228: Task SrcSet0 (Loading) fails on the target MICROSOFT_EXCEL connection Ms_EXCE_TGT.
    Caused By: java.sql.SQLException: [Microsoft][ODBC Excel Driver] 'C$_0Location' is not a valid name. Make sure that it does not include invalid characters or punctuation and that it is not too long.
    Code:
    create table "C$_0Location"
         C1_POSITION_DEFINITION_ID     VARCHAR(255) ,
         C2_SUMMARY_FLAG__________     VARCHAR(255) ,
         C3_ENABLED_FLAG__________     VARCHAR(255)
    Edited by: 985498 on May 15, 2013 4:06 AM

    The odbc driver doesn't seem to like the special character "$" int eh table name.
    Why is the C$ table being created on through the odbc driver. You cannot have non-sql technology for staging. Making the staging area different than target should help in your case.

  • ODI-1228: Task PRD-create-populate-table (Procedure) fails on the target

    I get this error when trying to run PRD-create-populate-table from Oracle by example ODI
    ODI-1228: Task PRD-create-populate-table (Procedure) fails on the target ORACLE connection ODI_DATA_SERVER.
    Caused By: java.sql.SQLSyntaxErrorException: ORA-02264: name already used by an existing constraint
    ODI-1228: Task PRD-create-populate-table (Procedure) fails on the target ORACLE connection ODI_DATA_SERVER.
    Caused By: java.sql.SQLSyntaxErrorException: ORA-02264: name already used by an existing constraint
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1224)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java:665)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeUpdate(SnpSessTaskSql.java:3218)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java:1785)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2805)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:662)

    the specified constraints name is still used. Please check if you are having the order correctly ie drop table , create and insert and check if the table is dropped , if still the constraints is there then drop it from database

  • ODI-1228: Task SrcSet0 (Loading) fails on the target SUNOPSIS_ENGINE connec

    Hi,
    When we are trying to load data from MSSQL Server to Hyperion Essbase i am getting below error
    ODI-1228: Task SrcSet0 (Loading) fails on the target SUNOPSIS_ENGINE connection SUNOPSIS_MEMORY_ENGINE.
    Caused By: java.sql.SQLException: statement is not in batch mode
    *     at org.hsqldb.jdbc.Util.sqlException(Unknown Source)*
    *     at org.hsqldb.jdbc.Util.sqlException(Unknown Source)*
    *     at org.hsqldb.jdbc.Util.sqlExceptionSQL(Unknown Source)*
    *     at org.hsqldb.jdbc.JDBCPreparedStatement.executeBatch(Unknown Source)*
    *     at oracle.odi.runtime.agent.execution.sql.SQLCommand.end(SQLCommand.java:267)*
    *     at oracle.odi.runtime.agent.execution.sql.SQLExecutor.endExecution(SQLExecutor.java:156)*
    *     at oracle.odi.runtime.agent.execution.sql.SQLExecutor.endExecution(SQLExecutor.java:1)*
    *     at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:113)*
    Thanks
    Rama

    as written here
    https://kr.forums.oracle.com/forums/thread.jspa?threadID=2421461
    Please us the no_batch_update or nobu as false in the JDBC URL of the Topology Navigator. &nobu=false

  • ODI-1228: Task TMP_BATCH_MST (Control) fails on the target ORACLE connectio

    Hi all,
    i received this error ...plz help me...
    i build process of data migration bt i received this error when i start exection of this process....
    ODI-1228: Task TMP_BATCH_MST (Control) fails on the target ORACLE connection odi_oracle.
    Caused By: java.sql.SQLSyntaxErrorException: ORA-00933: SQL command not properly ended
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1079)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
         at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
         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:2906)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:662)

    Have you selected the key column in target data store ?
    Bhabani
    http://dwteam.in

  • ODI-1228: fails on the target ORACLE connection.

    Hi,
    I tried running an interface, and encountered the following error:
    ODI-1228: Task Pop.ABC (Integration) fails on the target ORACLE connection Dev.
    Caused By: java.sql.SQLException: ORA-12170: TNS:Connect timeout occurred
    Kindly guide me what will be the reason of its failure.
    Thanks.

    Hi,
    It didnt work.
    The same error exists.
    The server is located at a remote location. So, what can be done to resolve this issue.
    Which value should be appropriate for the parameter to make it work for me?
    Thanks.

  • ODI-1228: Task emp(Integration) fails on the target ORACLE connection Target

    Hi all,
    I am getting error while executing interface on error. Following error occurs when i am executing interface,
    ODI-1228: Task emp(Integration) fails on the target ORACLE connection Target
    Caused By: java.sql.SQLException: Non Supported SQL92 token at position: 138
    Your help in this regard will be highly appreciated.
    Regards
    Irfan

    Hi all,
    I am getting error while executing interface on ODI. Following error occurs when i am executing interface,
    ODI-1228: Task emp(Integration) fails on the target ORACLE connection Target
    Caused By: java.sql.SQLException: Non Supported SQL92 token at position: 138
    Your help in this regard will be highly appreciated.
    Regards
    Irfan

  • ODI-1228 - strange SME issue...

    Hi Guys,
    I have following problem: I used Interface with filters like that:
    EBS.Year = '#Year'
    EBS.Period = '#Month'
    After I deleted this filters my interface fails during Loading data to SME step with following error:
    ODI-1228: Task SrcSet0 (Loading) fails on the target SUNOPSIS_ENGINE connection SUNOPSIS_MEMORY_ENGINE.
    Caused By: java.sql.SQLException: statement is not in batch mode
    When I added one of the filters again, it started to work again...
    Has anyone faced error like that before? What should I do to make my interface work again?
    Best regards,
    Greg

    Oracle Support helped me with &nobu option

  • Getting ODI-1228 : Missing IN or OUT parameter at index:: 12

    Hi,
    I am getting following error while executing ODI package :
    ODI-1226: Step DATA_LOAD_STAGE fails after 1 attempt(s).
    ODI-1240: Flow DATA_LOAD_STAGE fails while performing a Loading operation. This flow loads target table STAGE_ITEM_MOD_SYN.
    ODI-1228: Task SrcSet0 (Loading) fails on the target ORACLE connection ORCL_NMC_INFC.
    Caused By: java.sql.SQLException: Missing IN or OUT parameter at index:: 12
    Could you please tell why this error occurs and how to resolve it.
    Following is the code generated :
    SOURCE CODE :
    select
    IT.ITEM_NUMBER    C2_ITEM_NUMBER,
    IT.PRIMARY_DESC    C6_PRIMARY_DESC,
    IT.SECONDARY_DESC    C7_SECONDARY_DESC,
    IT.UDA_Name    C10_UDA_NAME,
    IT.UDA_VALUE    C11_UDA_VALUE,
    IT.IBC    C3_IBC,
    IT.SUPPLIER_SITE    C4_SUPPLIER_SITE,
    IT.PRIMARY_SUPP_IND    C5_PRIMARY_SUPP_IND,
    IT.MODIFICATION_TYPE    C1_MODIFICATION_TYPE,
    IT.USER_ID    C8_USER_ID,
    IT.CREATION_DATETIME    C9_CREATION_DATETIME
    from #NMC_ITEM_MODIFICATION.V_FILE_PATH/INCOMING//#NMC_ITEM_MODIFICATION.V_FILE_NAME.csv   IT
    where (1=1)
    TARGET CODE :
    DECLARE
    err_num NUMBER;
    err_msg VARCHAR2(300);
    BEGIN
    insert into ODISTG.C$_0STAGE_ITEM_MOD_SYN
    C2_ITEM_NUMBER,
    C6_PRIMARY_DESC,
    C7_SECONDARY_DESC,
    C10_UDA_NAME,
    C11_UDA_VALUE,
    C3_IBC,
    C4_SUPPLIER_SITE,
    C5_PRIMARY_SUPP_IND,
    C1_MODIFICATION_TYPE,
    C8_USER_ID,
    C9_CREATION_DATETIME
    values
    :C2_ITEM_NUMBER,
    :C6_PRIMARY_DESC,
    :C7_SECONDARY_DESC,
    :C10_UDA_NAME,
    :C11_UDA_VALUE,
    :C3_IBC,
    :C4_SUPPLIER_SITE,
    :C5_PRIMARY_SUPP_IND,
    :C1_MODIFICATION_TYPE,
    :C8_USER_ID,
    :C9_CREATION_DATETIME
    exception
    when others then
    err_num := SQLCODE;
          err_msg := SUBSTR(SQLERRM, 1, 300);
    insert into odistg.ITEM_MODFCTN_ERROR(ITEM_NUMBER,ERR_MSSG) values( :C1_ITEM_NUMBER,err_msg);
    end;
    Thanks,
    Lakshmi

    In fact I don't think the error happens in this part of the step (the one you sent the code). This is the command on target part and it should happen after the file load. Can you get the code in the Load step from the source and target area?
    Should be a step like this.
    Also, could you create another interface using the regular KM? Only for test purposes?
    The step that you sent here happens in the integration part (insert new rows) and the only thing different that it does is if the insert cannot insert something (like a invalid char in a number columns or something like that) it'll log the error in a error table.

  • Anybody using Hypersonic SQL in JSP?

    Hello,
    Does anybody use Hypersonic SQL?
    I implement a guestbook system with JSP that
    saves data in Hypersonic SQL. This system
    runs on www.mycgiserver.com. My JSP program
    has thread safe option set to false to make
    sure one thread is reading and writing the database
    at a time. However, every once in a while, the
    database will be wiped out mysteriously.
    So I am just wondering that this happens to
    anyone else? Is this a Hypersonic SQL's bug
    or it's the server that goofs up or I did something
    wrong with the JSP setting? Any ideas or
    comments please? Thanks !!!

    Hi there!
    I use Hypersonic locally and on mycgiserver.com. Luckilly, I haven't encountered your problems so far. I use a similar approach, I have a bean that handles a singleton-connection to the DB, and that will queue up all requests. But so far , I haven't had that much load on the app, so maybe I'll get back in this matter, with the same problem... Anyone att mycgiserver that had an id�a?
    regards
    Markus

  • Launch ODI scenario from PL/SQL

    I want to execute ODI scenario from PL/SQL procedure.
    1. I have created the java method using oracle.odi.sdk.invocation.*
    // Create the scenario command
    OdiCommandScenario cmd = new OdiCommandScenario();
    cmd.setScenName(pckName);
    cmd.setScenVersion(pckVer);
    cmd.setSyncMode(lSyncMode);
    cmd.setLogLevel(lLogLevel);
    cmd.setContext(lCtx);
    cmd.setSessionName(sesName);
    // Additional variables
    if (parNames != null) {
    for (int j=0; j<parNames.length;j++) {
    cmd.addVariable(parNames [j], parValues[j]);
    // Create the repository connection
    OdiRepositoryConnection conn = new OdiRepositoryConnection();
    conn.setOdiUser(lOdiUsr);
    conn.setOdiPassword(lOdiPwd);
    // Launch scenario (use Agent scheduler)
    try
    invocation = new OdiInvocation(lHostName,lPortNum);
    catch (Exception e2) { throw new Exception ("open OdiInvocation="+e2.getMessage());}
    OdiInvocationResult result = invocation.invokeCommand(cmd,conn);
    if (!result.isOk())
    {throw new Exception ("invokeCommand="+result.getErrorMessage());}
    else
    {sid = result.getSessionNumber();}
    invocation.close();
    rv = "OK"+sid;
    catch (Exception e) { rv = "ERROR: "+e.getMessage(); }
    finally
    return rv;
    // System.exit(0); // !!
    2. I have created a PL/SQL wrapper for this java method
    It is working satisfactory, an ODI scenario is launched, ID of ODI session is returned, but a java session is not finished, it stay to hang up.
    I have got the same result if I try to execute java-method directly from command line - session is hang up.
    I found only workaroud to use "System.exit(0)" to terminate session, but it is not a way I can use inside JVM.
    (I can to resolve it by deploying java method as web-service and call this webservice from DB - it works OK ... but it seems uselessly complicated ... )
    Version ODI: 10.1.3.5.3, JDK 5.0, Windows (but I've got the same result on the Linux)
    Any suggestions? Thank you very much.

    In your example you invoke ODI scenario using "startscen" command (using java method for launching OS command from PL/SQL).
    Yes, I have also tried this workaround - but it is complicated to get back a session ID or ODI error message. In addition to I had a problem with calling ODI scen asynchrounously - but I didn´t investigate this possibility too properly ...
    Thanks

  • Hypersonic SQL client program (Database Manager)

    I would like to ask if there are some hypersonic Sql client program which can provide me a convenient environment for altering the table structure easily.
    I have used the database manager provided by it and tried using other JDBC client program like isql in sourceforge.
    I dont know whether there is tools which is written for HSQLDB. If there is, please tell me. Thanks very much for your kind act!!

    sorry I should say it is HSQLDB
    Actually, it is very powerful and light such that many open source software love to use it.
    http://hsqldb.sourceforge.net
    Actually, the package it provided is enough for general purpose
    But for building complicated application , I think it is not enough if I change field and data type very often.

Maybe you are looking for