Uploaded image for project: 'CUBRID APIs'
  1. CUBRID APIs
  2. APIS-670

[ADO.NET] CUBRIDTransaction.BeginTransaction() can not change the transaction CUBRIDIsolationLevel

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: ADO.NET 9.2.0.0001
    • Fix Version/s: ADO.NET 9.2.0.0001
    • Component/s: ADO.NET
    • Labels:
    • Environment:
      • OS: Win32
      • CUBRID: 9.2.0.0149
      • Driver: cubrid-ado.net 9.2.0.0001 (20130911)
      • Framework: .NET 4.0

      Description

      • Brief: CUBRIDTransaction.BeginTransaction() can not change the transaction CUBRIDIsolationLevel
      • Test Code
        CUBRIDConnection conn = new CUBRIDConnection("server=localhost;database=demodb;port=33000;user=dba;password=");
        conn.Open();
        
        CUBRIDTransaction transaction = conn.BeginTransaction(CUBRIDIsolationLevel.TRAN_COMMIT_CLASS_COMMIT_INSTANCE);
        Console.WriteLine(transaction.CUBRIDIsolationLevel);
        

      Expected Result:

      TRAN_COMMIT_CLASS_COMMIT_INSTANCE
      

      Actual Result:

      TRAN_REP_CLASS_UNCOMMIT_INSTANCE
      

        Activity

        Hide
        cn15800 谢韦华[Bert] added a comment -

        Driver only set the connect's IsolationLevel, not set transaction 's IsolationLevel.

        Show
        cn15800 谢韦华[Bert] added a comment - Driver only set the connect's IsolationLevel, not set transaction 's IsolationLevel.
        Hide
        cn15800 谢韦华[Bert] added a comment -

        fixed

        Show
        cn15800 谢韦华[Bert] added a comment - fixed
        Hide
        ryin005 Ray Yin added a comment -
        • Test OS: Win32
        • CUBRID: 9.2.0.0149
        • Driver: cubrid-ado.net 9.2.0.0002 (20130916)
        • Framework: .NET 4.0

        Test Result: Pass

        Close the issue

        Show
        ryin005 Ray Yin added a comment - Test OS: Win32 CUBRID: 9.2.0.0149 Driver: cubrid-ado.net 9.2.0.0002 (20130916) Framework: .NET 4.0 Test Result: Pass Close the issue

          People

          • Assignee:
            cn15800 谢韦华[Bert]
            Reporter:
            ryin005 Ray Yin
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: