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
Expand all | Collapse all

No Transcation : commit and Roll back doudt

  • 1.  No Transcation : commit and Roll back doudt

    Posted Thu March 15, 2012 12:51 PM

    Hi All,

    I am uning loooping over the document list that have 10 documents that i have to insert in the DB .if i am using No transcation for each insert transaction will be commited or after inserting all document it will get inserted.
    But if there is any connection problem occure between IS and Database and only 6 transactions inserted then all 6 will get commited or all 6 will be rolled back??

    Note:Bacially my question is : Is No Transcation do rollback?

    [FONT=PalatinoLinotype-Roman][SIZE=3][FONT=PalatinoLinotype-Roman][SIZE=3]

    As per the JDBC adapter Guide–>
    NO_TRANSACTION
    The connection provides no transaction control over the operations being performed. That is, the connection automatically commits (Auto Commit) all operations.[/font]

    [FONT=PalatinoLinotype-Roman]I will appriciat your help…

    [/SIZE][/font][/SIZE][/FONT]


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: No Transcation : commit and Roll back doudt

    Posted Thu March 15, 2012 03:19 PM

    Here you can use Local_Transcation

    flow code should be as below…

    start transaction
    sequence (exit on sucess)
    sequence (exit on failure)
    –insert service
    –update service
    –commit
    sequence (exit on done)
    –rollback


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: No Transcation : commit and Roll back doudt

    Posted Thu March 15, 2012 06:15 PM

    A No Transaction connection simply means that IS doesn’t manage the transaction. The DB does. So your calls will be auto-commit. Each call to the DB is committed as it happens. A later error will not rollback previous calls.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods