Integration

Get Involved. Join the Conversation.

Topic

    Yanal Sakaji
    Error While inserting Data into DBaas through ICS...
    Topic posted February 15, 2018 by Yanal SakajiRed Ribbon: 250+ Points, last edited February 16, 2018 by Arijit ChakrabortyBronze Trophy: 5,000+ Points, tagged Database, Integration 
    135 Views, 1 Comment
    Title:
    Error While inserting Data into DBaas through ICS "Inserted value too large for column:"
    Summary:
    Error While inserting Data into DBaas through ICS "Inserted value too large for column:"
    Content:

    Hi All,

     

    I am encountering the following error while trying to insert data into DBaas through ICS using Invoke stored procedure option.

     

    please note that i have changed the data type into Varchar2(1000) and i did not make a difference

     

    <fault xmlns="http://www.bea.com/wli/sb/context"><errorCode>OSB-380001</errorCode><reason>oracle.tip.adapter.sa.api.JCABindingException: Set object error. Error binding the value of parameter OAC_P_DAY_IN.

    An error occurred when binding the value of parameter OAC_P_DAY_IN in the APPSDB.TEST_OAC_DAY_OBJ_PKG.OAC_DAY_INSERT_DATA API. Cause: java.sql.SQLException: Inserted value too large for column: "2018-01-23 17:46:50.165000" Check to ensure that the parameter is a valid IN or IN/OUT parameter of the API.

    This exception is considered not retriable, likely due to a modelling mistake. To classify it as retriable instead add property nonRetriableErrorCodes with value "-17072" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. Inserted value too large for column: "2018-01-23 17:46:50.165000"Fault Details : &lt;err:serviceInvocationError xmlns:err="http://xmlns.oracle.com/cloud/generic/service/fault"&gt; &lt;err:type&gt;Set object error&lt;/err:type&gt; &lt;err:title&gt;Error binding the value of parameter OAC_P_DAY_IN.&lt;/err:title&gt; &lt;err:detail&gt;An error occurred when binding the value of parameter OAC_P_DAY_IN in the APPSDB.TEST_OAC_DAY_OBJ_PKG.OAC_DAY_INSERT_DATA API. Cause: java.sql.SQLException: Inserted value too large for column: "2018-01-23 17:46:50.165000"&lt;/err:detail&gt; &lt;err:errorCode&gt;serviceInvocationError&lt;/err:errorCode&gt; &lt;err:remedialAction&gt;Check to ensure that the parameter is a valid IN or IN/OUT parameter of the API.&lt;/err:remedialAction&gt; &lt;/err:serviceInvocationError&gt; </reason><location><node>RouteNode1</node><path>request-pipeline</path></location></fault>

     

    what would be the cause  please ?

     

    Thank you in advance for your help

    Comment

     

    • Anuj X Maheshwari

      Hi,

      Can you please clarify what was the previous data type? There is a possibility that you need to do go through design time wizard again so that proper data type is generated by adapter.

      Also, please try restarting agent after data type was modified at the database level to make sure that existing sessions are cleared.

      Thanks.