Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2060

SET CURRENT ISOLATION in ref.man refers java.sql.Connection.setTransactionLevel instead of java.sql.Connection.setTransactionIsolation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 10.3.1.4
    • Documentation
    • None

    Description

      On SET CURRENT ISOLATION statement in the Derby refernce manual:

      "Issuing this command commits the current transaction, which is consistent with the java.sql.Connection.setTransactionLevel method."

      The correct method name is java.sql.Connection.setTransactionIsolation (java.sql.Connection.setTransactionLevel does not exist)

      BTW: setTransactionIsolation will commit the current transaction if called in the client driver but not in the embedded driver. See DERBY-638

      Attachments

        1. DERBY-2060.diff
          2 kB
          Camilla Haase
        2. DERBY-2060.zip
          6 kB
          Camilla Haase
        3. DERBY-2060-2.diff
          7 kB
          Camilla Haase
        4. DERBY-2060-2.zip
          11 kB
          Camilla Haase
        5. DERBY-2060-3.diff
          7 kB
          Camilla Haase
        6. DERBY-2060-3.zip
          11 kB
          Camilla Haase

        Issue Links

          Activity

            People

              chaase3 Camilla Haase
              bernt Bernt Johnsen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: