Uploaded image for project: 'Spring.NET'
  1. Spring.NET
  2. SPRNET-1567

HibernateTransactionManager assign incorrect connection timeout

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.0 M1
    • Fix Version/s: 2.0 RC1
    • Component/s: Spring-NET-NH
    • Labels:
      None
    • Environment:
      Any

      Description

      Both HibernateTransactionManager and HibernateTxScopeTransactionManager assign an incorrect connection timeout (corresponding location in DoBegin, line 439 and 437 respectively). The problem is actually twofold - the timeout in seconds is assigned to the TimeoutInMillis property and the timeout is assigned directly from TransactionTimeout property of the definition, which does note take the default timeout in account.

        Attachments

          Activity

            People

            • Assignee:
              sbohlen Steve Bohlen
              Reporter:
              yhrn Mattias Öhrn
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: