Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3691

sql.withTransaction needs to save/restore "autoCommit "

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.4
    • 1.6.5, 1.7-beta-2
    • SQL processing
    • None

    Description

      John Bito:

      I'd probably add the commit mode to the Sql properties, since I think it needs to be set on the connection if it's acquired from the DataSource

      On Tue, Aug 18, 2009 at 22:54, Fred Janon <fjanon@gmail.com> wrote:

      Should withTransaction preserve the state of autoCommit instead of forcing it to true before exiting?

      Attachments

        1. groovy3691.patch
          1 kB
          paulk_asert

        Activity

          People

            paulk Paul King
            fjanon Fred Janon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: