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.  JDBC adapter and timestamp

    Posted Wed February 08, 2006 07:25 AM

    Hi

    I have problem with JDBC adapter. I have a timestamp field in the DB and when I
    create a select service it puts column type as timestamp which is ok
    but for the JDBC type it puts other.

    IS version is 6.1 running on windows, JDBC adapter version is 6.0.3.
    JVM is 1.4.2. JDBC jar file is ojdbc14.jar.

    Any help

    Thanks


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


  • 2.  RE: JDBC adapter and timestamp

    Posted Thu February 09, 2006 03:21 AM

    Hi,

    which Oracle Version are you using (Server and Driver)?

    Can you try to change the Output type to “java.lang.String”?

    Regards,
    Holger


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


  • 3.  RE: JDBC adapter and timestamp

    Posted Thu February 09, 2006 06:54 AM

    What is the output type you are getting it as?

    If you see, it should be able to show you multiple data type options, such as timestamp, java.lang.String, java.utils.Date etc. Have you tried it to be retrieved as java.utils.Date?


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


  • 4.  RE: JDBC adapter and timestamp

    Posted Fri February 10, 2006 08:07 AM

    Oracle version is 9.2.0.1.0, driver, I took the driver
    from oracle9i\ora92\jdbc\lib.

    For the output list I can only see: java.lang.String and java.lang.Object.


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


  • 5.  RE: JDBC adapter and timestamp

    Posted Mon February 13, 2006 03:15 AM

    Hi,

    can you try to use a newer driver version available from http://technet.oracle.com/

    Current Drivers. which should be working, are 9.2.0.5 and all 10g Drivers.

    I would prefer the 10g Drivers, as they have some performance increasements and an extended LOB-support especially for the Thin Mode.

    It seems that JDBC-Type OTHER is normal for column type TIMESTAMP.
    Try to select the java.lang.String as format for input/output field in the adapter service�s signature, as this is easier to deal with in the flow services.

    Regards,
    Holger


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


  • 6.  RE: JDBC adapter and timestamp