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.  Handling Oracle Transactions

    Posted 12/19/02 01:12 PM

    Hi,

    I have got a problem regarding committing transactions in Integration component.
    My IC consists of many Inserts/Updates operations on Oracle(Intelligent) Adapter.
    All these operations are inside Try/Catch block.
    When any of the operation fails,the adapter commits all the operations prior to the operation that has failed.
    Why does it so though the Oracle adapter handles the transaction internally?
    And how should I force my adapter to rollback the transaction in case any operation fails?

    Will be very thankfully for immediate response.

    Thanks in advance,
    Neelima


    #broker
    #Universal-Messaging-Broker
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Handling Oracle Transactions

    Posted 12/19/02 06:53 PM

    Are you using ES or IS webMethods? The reason your transactions commited because WM uses JDBC for Oracle and by deafult the driver is set to autocommit every insert. You need to iether open a transaction context withing webMethods and handle exception rollback or find a way to configure your adapater or driver no to autocommit.


    #webMethods
    #broker
    #Universal-Messaging-Broker
    #Integration-Server-and-ESB


  • 3.  RE: Handling Oracle Transactions

    Posted 12/19/02 06:57 PM

    Are you using ES or IS webMethods? The reason your transactions commited because WM uses JDBC for Oracle and by deafult the driver is set to autocommit every insert. You need to iether open a transaction context withing webMethods and handle exception rollback or find a way to configure your adapater or driver no to autocommit.


    #webMethods
    #Integration-Server-and-ESB
    #broker
    #Universal-Messaging-Broker


  • 4.  RE: Handling Oracle Transactions

    Posted 12/19/02 07:00 PM

    Also, along with using StartTransaction prior to inserting, you might also want to incorporate a Branch. If all “conditions” are successfully met, then Commit. If “conditions” are not met, then Rollback.


    #webMethods
    #Integration-Server-and-ESB
    #Universal-Messaging-Broker
    #broker