IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  JDBC Adapter Error

    Posted 11/13/08 09:45 PM

    Hi Folks,
    i have been facing some problem while updating the data into the DB by invoking the stored procedure. Error messages is as follows.

    [ART.117.4002] Adapter Runtime (Adapter Service): Unable to invoke adapter service GovtComplianceSybJdbcAdapterNoTran.Adapters:UpdateGovtComplianceDblglItmCooHaz.
    [ADA.1.316] Cannot execute the SQL statement “{call dblgl.dbo.db_dblgl_ldcoohaz (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) }”. "
    (ZZZZZ/249) Syntax error during explicit conversion of CHAR value 'IN ’ to a DATE field.
    "
    Syntax error during explicit conversion of CHAR value 'IN ’ to a DATE field.

    By looking at the error message, it is clear that it was throwing the error while doing the date conversion. But when i ran the Stored Procedure manually by giving the input values, table is updated successfully. Is there any problem while passing these values to the SP…?

    Here is the set up that we did for our Stored Procedure…

    we did mention the input parameter as CHAR for the variable update_dt and the input type is defined as java.lang.String. I have processed the transaction by changing the parameter as Date, but no use.

    Can anyone please help me regarding this…?

    Thanks
    Vasu


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: JDBC Adapter Error

    Posted 11/14/08 08:07 PM

    If the type in DB is Date, on the parameter page:
    on top, use the JDBC Type = Date
    in the middle, input Type = java.lang.String
    HTH,
    Tong


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods