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

Avoiding data synchronization \"loops\" with JDBC

  • 1.  Avoiding data synchronization \"loops\" with JDBC

    Posted Mon March 01, 2004 11:59 AM

    We’re creating a bidirectional data synchronization solution using the JDBC adapter between Oracle and SQL Server databases.


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


  • 2.  RE: Avoiding data synchronization \"loops\" with JDBC

    Posted Tue March 02, 2004 08:40 AM

    There is an approach for that.

    Create a column called “UserName” in the tables you are listening to (the buffer table that is fed by the triggers), and have the JDBC adapter login to the DB using a dedicated username value. Then, when the trigger is executed, you will be able to get the username value from the session and insert it into the buffer table.

    When the JDBC adapter reads the buffer table, skip all the columns, for which UserName matches the value used by itself.

    riad


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