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.

 View Only
  • 1.  Time stamp

    Posted Tue April 11, 2023 06:44 AM

    hi,
    I need to transfert the current date to timestamp

    can anyone help me


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


  • 2.  RE: Time stamp

    Posted Tue April 11, 2023 07:02 AM

    @rana2 Assuming question is related to Integration server, please implement java service to do the conversion.


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


  • 3.  RE: Time stamp

    Posted Tue April 11, 2023 07:09 AM

    @Bharath_Meka1 yes I have a jar in this path
    C:\SoftwareAG\IntegrationServer\packages\WmJDBCAdapter\code\jars\static


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


  • 4.  RE: Time stamp

    Posted Tue April 11, 2023 07:21 AM


  • 5.  RE: Time stamp

    Posted Tue April 11, 2023 01:52 PM

    Hi Rana,

    which jar are you referring to?
    In the mentioned directory should only be JDBC Adapter related jars, esp. those for databases which do not have a plain JDBC Type 4 driver, but rely on a native portion via a JNI-Jar (JDBC Type 2 and/or Type 3 driver).

    Can you provide some more details where exactly you plan to do the conversion (screen shots of the services might help)?
    Please provide the vendor of the database you are connecting to as this might work differently on different vendors.
    Basic Adapter Service Templates of the JDBC Adapter support automatic conversion when the input/output field is either specified as Date type or String type and the column is specified as TIMESTAMP type.

    Regards,
    Holger


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


  • 6.  RE: Time stamp

    Posted Tue April 11, 2023 09:53 AM

    @Bharath_Meka1 thanks I tried it.

    all is right.
    but can we find a way without code ?


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