Sure, I have attached a patch file that has the changes and a unit test that shows my issue. I have included the test in line as well for discussion. This test would fail in the current code base.
/// <summary>
/// Tests handling of Aggregate results from cache.
/// </summary>
/// <remarks>The aggregate in the cache should immutable</remarks>
[Test]
public void TestAggregateContainer()
{
IList list =
dataMapper.QueryForList("GetCachedAccountsViaResultMap", null);
Assert.IsTrue(list.Count > 0);
int originalCount = list.Count;
list.RemoveAt(0);
IList list2 =
dataMapper.QueryForList("GetCachedAccountsViaResultMap", null);
Assert.IsTrue(list2.Count == originalCount);
}
Thanks,
Chris
On Tue, Jun 17, 2008 at 2:36 PM, Gilles Bayon <[EMAIL PROTECTED]> wrote:
> Hi Christopher
>
> Can you give a real example of your problem, what you are expected and the
> patch ?
>
> --
> Cheers,
> Gilles
>
IBatisV3.AggregatePatch.patch
Description: Binary data
