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

Provide alternative to static to retrieve transaction status to support unit testing.

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.3.0 RC1
    • Fix Version/s: FUTURES
    • Component/s: Spring-NET-TX
    • Labels:
      None

      Description

      I have a minor issue with TransactionInterceptor.CurrentTransactionStatus. We use that to rollback transaction without throwing exception. But this is not unit test friendly. I need an interface that gives me the status. After briefly searched API, we wrote an ITransactionStatusProvider to solve the problem, it would be nice to have it in Spring.Net and its documentation or maybe there is already one that I missed? (Kenneth Xu)

        Attachments

          Activity

            People

            • Assignee:
              mark.pollack Mark Pollack
              Reporter:
              mark.pollack Mark Pollack
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: