3 Replies Latest reply on May 21, 2007 9:28 PM by Scott Marlow

    Row-locking enhancement for ejbLoad invoked outside of a tra

    Scott Marlow Master

      Hi,

      I have a cmp bean method marked with "transaction-type=NotSupported". I would like the ejbLoads that occur for calls to this method, to act as if row-locking=false. I want this for the cases that the parent transaction holds a row lock on the same entity bean.

      Would this be a valid ehancement to JDBCLoadEntityCommand.execute(JDBCCMPFieldBridge requiredField,
      EntityEnterpriseContext ctx)? We can easily test the ctx if a transaction is active, if not, don't use the row-lock syntax.

      Should there be an option perhaps that controls this?

      Thanks,
      Scott