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.  TimeStamp missing in DATE field

    Posted Wed March 09, 2011 05:02 PM

    We are on wm8, JDBC adapter version 6.5… Oracle DB we are using in 11i.
    Timestamp is getting trimmed (Say i get only “09/03/2011” instead of “09/03/2011 XX:XX:XX”) when I created a normal select adapter service, since there is no option of selecting JDBC datatype as “TIMESTAMP” i just have “DATE”.
    Do we have to do some configuration changes or patches for wm8 to resolve this?

    Alternatively when i created a Dynamic Adapter Service with the output field defined as TIMESTAMP, I was able to get the date and time stamp as desired.

    thanks for the help in advance…
    Srikanth G


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


  • 2.  RE: TimeStamp missing in DATE field

    Posted Wed March 09, 2011 05:36 PM

    This is due to the way the Oracle JDBC driver (not adapter) handles DATE columns. It has changed behavior in various versions. Search for “Oracle timestamp date” to find articles from Oracle for a description.


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


  • 3.  RE: TimeStamp missing in DATE field

    Posted Thu March 10, 2011 12:56 PM

    Hi Srikanth,

    I am not seeing this behaviour in my environment.

    wM 8.0.1.0 and
    JDBC Adapter version 6.5
    and updates JDBC_6.5_Fix23

    I can see TIMESTAMP as JDBC Type and I can get the Full Date time as output…

    Please check if in ur env… u have updated JDBC fix …

    Regards,

    Arpith


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


  • 4.  RE: TimeStamp missing in DATE field

    Posted Thu March 10, 2011 05:16 PM

    As mentioned in my post, this is not a JDBC adapter issue. It is due to the JDBC driver. The latest fixes from SAG will not matter. The JDBC driver will need to be updated/reconfigured.


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


  • 5.  RE: TimeStamp missing in DATE field

    Posted Sun March 13, 2011 09:23 PM

    Hi Srikanth,

    Just provide the below properties in the connection other properties field and reload the adapter service…you will be able to see TIMESTAMP.

    oracle.jdbc.V8Compatible=true,includeSynonymns=true

    Regards,
    Mouli.


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


  • 6.  RE: TimeStamp missing in DATE field

    Posted Sun March 13, 2011 09:47 PM

    This depends upon the version of the JDBC driver being used.


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


  • 7.  RE: TimeStamp missing in DATE field

    Posted Mon March 14, 2011 05:18 PM

    Thanks Reamon, Arpith and Mouli…
    That V8Compatible property worked for me. I was able to find it in some old wmAdvantage thread later in the day I posted here in wmusers…

    Thanks again for your help guys…
    Have a great day…
    Srikanth G


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