Post a reply

Write your message and submit

Options

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

NicolasP
2012-02-07 11:38:50

Hi

In TOS 5.0.1, i've the same problem.

thanks for your help

shamza
2009-06-02 14:19:07

Hello,

I have the same problem.
Can you give me an other answer.

shamza
2009-05-26 11:47:23

I did it. I created an output 'result' as an Object.
I didn't add it on parameters table but after modifications I have the same error.

shong
2009-05-26 11:34:40

Hello

I use a t_OracleSP to call my function and I return an Object.

Add a output column on OracleSP and set its data type as Object. On parameters table, set the type of object coulumn as record set.

Best regards

        shong

shamza
2009-05-26 10:31:51

Hello!,
I've got a cursor which is returned by my Oracle function and I want to read all records of this cursor.
I use a t_OracleSP to call my function and I return an Object.
And my function looks like this :

FUNCTION ExtractArticle (v_org_id IN NUMBER, v_subinv_code IN VARCHAR2)
RETURN t_cursor AS

BEGIN
.......
END ExtractArticle;


But :

Exception in component tOracleSP_1
java.sql.SQLException: Type de colonne non valide: 1111
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:229)
    at oracle.jdbc.driver.OracleStatement.getInternalType(OracleStatement.java:3520)
    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterInternal(OracleCallableStatement.java:126)
    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:287)
    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:378)
    at oracle.jdbc.driver.OracleCallableStatementWrapper.registerOutParameter(OracleCallableStatementWrapper.java:1568)
    at cggv.cggv_mvl_runcall_0_1.CGGV_mvl_RunCall.tRowGenerator_1Process(CGGV_mvl_RunCall.java:1191)
    at cggv.cggv_mvl_runcall_0_1.CGGV_mvl_RunCall.tOracleConnection_1Process(CGGV_mvl_RunCall.java:238)
    at cggv.cggv_mvl_runcall_0_1.CGGV_mvl_RunCall.runJobInTOS(CGGV_mvl_RunCall.java:1601)
    at cggv.cggv_mvl_runcall_0_1.CGGV_mvl_RunCall.main(CGGV_mvl_RunCall.java:1514)


Can you help me !!

Board footer

Powered by FluxBB