0 Replies Latest reply on Sep 5, 2006 12:19 PM by Matthias Lanz

    Setting database isolation level

    Matthias Lanz Newbie

      Hello,

      how can I set the isolation level for a transaction (for a method of a session bean) as I would do with "SET SESSION TRANSACTION LEVEL ..." in pure SQL?

      I have transactions that need to run under REPEATABLE_READ, for others even READ_UNCOMMITED is enough and I want to avoid unnecessary locks on the database.

      Best regards,

      Matthias