5 Replies Latest reply on Dec 19, 2003 6:12 PM by Juha Lindfors

    EJB transaction timeout

    Ilaria Ballamuti Newbie

      Hi,

      I would like to know if it is possible to specify the transaction timeout for a single bean.

      I use Oracle 8.1.7 and I configure the transaction manager in the standard way:


      300
      oracle.jdbc.xa.OracleXid


      Quoting the documentation: "TransactionTimeout: The default transaction timeout in seconds. The default value is 300 seconds."
      As long as this is a default I suppose it can be set arbitrary for every bean, but I did not figure out how.

      Could anybody please help me ? Either explaining me how to set the transaction timeout for every bean or by confirming me that it is not possible.

      Thanks in advance.