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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Commit at the end of an insert into an Oracle table.

  • 1.  Commit at the end of an insert into an Oracle table.

    Posted Wed September 11, 2002 03:59 PM

    Hi There,

    I created a component in Enterprise Integrator to insert into an Oracle table (from a flat file). Rows are inserted and a commit is performed on each row. Instead, I would like to have a COMMIT after all rows are inserted and not after insertion of each row. Anybody knows how to do this. I greatly appreciate your help in this matter.

    Thanks.

    Nour.


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Commit at the end of an insert into an Oracle table.

    Posted Fri September 13, 2002 05:15 AM

    How are you doing the processing - are you doing an insert (in another integration component to the file processing)? If you publish an event for each row, you’ll end up with this. Try using a struct array and publishing one event containing all rows to be inserted, and in the Oracle component, put the insert into a loop step. It improves processing quite a lot (and shouldn’t do a commit for each row)

    W


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 3.  RE: Commit at the end of an insert into an Oracle table.

    Posted Mon September 16, 2002 03:50 PM

    I tried it and it worked.

    Thanks a lot.

    Nour.


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods