Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractPlatformTransactionManager.FailEarlyOnGlobalRollbackOnly Property

Gets or sets a value indicating whether to fail early in case of the transaction being globally marked as rollback-only.

[Visual Basic]
Public Property FailEarlyOnGlobalRollbackOnly() As Boolean
   Public Get
   End Get
   Public Set
   End Set
End Property
[C#]
public bool FailEarlyOnGlobalRollbackOnly { public get; public set; }

Property Value

true if fail early on global rollback; otherwise, false.

Remarks

Default is "false", only causing an UnexpectedRollbackException at the outermost transaction boundary. Switch this flag on to cause an UnexpectedRollbackException as early as the global rollback-only marker has been first detected, even from within an inner transaction boundary.

See Also

AbstractPlatformTransactionManager Class | Spring.Transaction.Support Namespace