0 Replies Latest reply on Dec 20, 2002 5:39 AM by Peter Antman

    Default tx for finders

    Peter Antman Expert

      Hi,
      I just wonders if anyone knows the default trans-attribute for finders?

      Upgrading from 2.4 to 3.0 seems to have triggered a new behaviour for at least one of my beans where a findBy.. does not catch a newly created entity created in another thread.

      By transaction stuff looks like this in ejb-jar:

      <container-transaction>

      <ejb-name>OfflineMessageEntity</ejb-name>
      <method-intf>Remote</method-intf>
      <method-name>*</method-name>

      <trans-attribute>Required</trans-attribute>
      </container-transaction>

      Baically a need the finders no to do dirty reads!

      //Peter