1 Reply Latest reply on Dec 1, 2001 12:11 PM by davidjencks

    callbacks made on entity beans via db-triggers

    ahoward

      is there a portable method of triggering ejb methods when updates are made to tables from, for example, the sql prompt or from some source outside of the bean container? db's which support java triggers could easily support this, but is there a way to accomplish it entirely from within the j2ee framework?

        • 1. Re: callbacks made on entity beans via db-triggers
          davidjencks

          You can't get notified directly, however if you use commit option B or C and make your methods transactional all entity beans used in a transaction will be (re)loaded from the db.

          AFAIK there are very difficult to solve timing problems with relying on notifications from the db if you really want transactional integrity.