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.  Set NLS_DATE_FORMAT in adapter

    Posted 08/27/09 01:13 PM

    We are strarting using Oracle.

    I want to set a specific NLS_DATE_FORMAT to use in Oracle JDBC adapter inside Integration Server.

    Reading driver information I verified that even if the driver is thin or OCI it will generate different nls_session_parameters and I am not able to change this.

    I have tried doing “ALTER SESSION SET NLS_DATE_FORMAT=‘YYYY-MM-DD HH24:MI:SS’” and everything worked ok. But I need to find another solution that guarantees working with “Connection Pooling” inside Integration Server.

    I tried to set Environment Variables in Windows but without Sucess.

    Any suggestions ?

    João Caseiro


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


  • 2.  RE: Set NLS_DATE_FORMAT in adapter

    Posted 08/28/09 04:53 AM

    I’ve found it easiest to not try to interact with Oracle date columns using strings. Instead, I use java.util.Date objects both for read and write. Then I have helper services to format to strings when needed when mapping to/from target/source systems. Perhaps such an approach would be appropriate for your environment?


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