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

JDBC BasicNotification: Can you use a where clause?

  • 1.  JDBC BasicNotification: Can you use a where clause?

    Posted Fri April 29, 2005 09:36 AM

    I have a need to use a basicnotification on a shared DB table. I need to be able to pull records that belong to my application and leave the others alone. Can you do this with the basicNotification


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


  • 2.  RE: JDBC BasicNotification: Can you use a where clause?

    Posted Sun May 01, 2005 08:18 PM

    Michael,

    There is no “where” option when you create a basic notification. The polling process will just select data based on the rows you choose. The basic notification relies on you to create the triggers and buffer tables manually, so it will be difficult to get the results you want with your current shared buffer table [if you use Basic Notification and enable it to delete records, it will select all rows from the table then delete them]. This will compete with other applications polling the same table.

    I suggest you modify the triggers to include a “where” clause, and have two [or more] buffer tables - one for each application polling. Otherwise, the “non-basic” notification options (eg. insertNotification) allow you to set where/when clauses and automatically build the triggers/buffer tables for you.

    James…


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


  • 3.  RE: JDBC BasicNotification: Can you use a where clause?

    Posted Mon May 02, 2005 08:37 AM

    Another option is to set up views on the buffer table that only display the rows you want to trigger on and set the notification on the view instead of the table.


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