Executing cached queries using the SysCache provider does not appear to be working

Description

I am using both the trunk of NHibernate and NHibernateContrib to test the SysCache functionality.

My Enviroment is Windows 2008 (VM), MS Sql Server 2005, .NET 3.5

When I try to perform cached queries I can see the SysCache being updated, but it never seems to successfully pull from the cache.

I have attached a patch for the NHibernate.Caches.SysCache project with a TestFixture called SysCacheNotWorkingFixture that
attempts to demonstrate the problem

I updated the NHibernateContrib/libs directory with the trunk version of NHibernate.

thanks,
craig

Environment

None

Attachments

1

Activity

Show:

OrenE September 9, 2008 at 7:57 AM

The problem was saving without transaction, which polluted the 2nd level cache.

Not an Issue

Details

Assignee

Reporter

Components

Affects versions

Priority

Who's Looking?

Open Who's Looking?
Created September 7, 2008 at 5:53 AM
Updated April 19, 2009 at 2:24 PM
Resolved September 9, 2008 at 7:57 AM
Who's Looking?