1 Reply Latest reply on Aug 28, 2005 7:59 PM by Scott Stark

    Database trigger and EJB

    wbolivar Newbie

      Hello everybody

      Could someone help me to work a problem out?

      I have a Session bean which is modifying an EJB CMP, then during the modification a trigger on the database table which corresponds with the EJB is fired.

      Before the trigger has been fired the session bean has created a record in and other table, the trigger is expecting that this last record exist when the trigger is fired but the record which should have been created before the trigger is fired, is being created after the trigger finish.

      This is happening in a single JBOSS transaction

      Thaks

      William Bolivar