mmwaikar
04-23-2008, 03:58 PM
Hi,
I have a below unit test -
[Test]
public void CanFindPriorityOfAJob() {
using (new SessionScope(_dao.SessionFactory, true)) {
Job job = _dao.FindById(1000001);
Assert.IsNotNull(job, "job cannot be null");
Assert.IsNotNull(job.JobPriority, "job priority cannot be null");
Assert.IsTrue(job.JobPriority.Id == 3, "priority id value must match");
}
}
When I run it using the Spring version 1.1.0.2 (and NHibernate 1.2.0), this test succeeds, but when I run the same test using version 1.1.1 (with NHibernate 1.2.1), it gives me the following error - System.NotImplementedException : you need to override this method to resolve an IInterceptor instance
Please let me know.
I have a below unit test -
[Test]
public void CanFindPriorityOfAJob() {
using (new SessionScope(_dao.SessionFactory, true)) {
Job job = _dao.FindById(1000001);
Assert.IsNotNull(job, "job cannot be null");
Assert.IsNotNull(job.JobPriority, "job priority cannot be null");
Assert.IsTrue(job.JobPriority.Id == 3, "priority id value must match");
}
}
When I run it using the Spring version 1.1.0.2 (and NHibernate 1.2.0), this test succeeds, but when I run the same test using version 1.1.1 (with NHibernate 1.2.1), it gives me the following error - System.NotImplementedException : you need to override this method to resolve an IInterceptor instance
Please let me know.