SPRNET-1017 - Locally managed transactions were not propagated when performing dataset operations in AdoTemplate.

This commit is contained in:
markpollack
2008-08-26 05:21:30 +00:00
parent 85313545c5
commit 11946e014c
2 changed files with 2 additions and 1 deletions

View File

@@ -143,7 +143,7 @@ namespace Spring.Data
{
object result = tt.Execute(new DataSetUpdateTransactionCallback(this, true));
Assert.Fail("Should have thrown exception to rollback transaction.");
} catch (Exception e)
} catch (Exception)
{
ValidateTestObjects(4);
}

View File

@@ -44,6 +44,7 @@
<WarningLevel>4</WarningLevel>
<DebugType>full</DebugType>
<ErrorReport>prompt</ErrorReport>
<WarningsAsErrors>168</WarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<OutputPath>..\..\..\build\VS.Net.2005\Spring.Data.Integration.Tests\Release\</OutputPath>