Fail during evaluation of 'student.Enrolments' [Test] public void NH_1155_ShouldNotLoadAllChildrenInPagedSubSelect() { using (ISession s = OpenSession()) using (ITransaction tx = s.BeginTransaction()) { Course course = new Course(); course.CourseCode = "HIB"; course.Description = "Hibernate Training"; s.Save(course); Student gavin = new Student(); gavin.Name = "Gavin King"; gavin.StudentNumber = 667; s.Save(gavin); Student ayende = new Student(); ayende.Name = "Ayende Rahien"; ayende.StudentNumber = 1337; s.Save(ayende); Student xam = new Student(); xam.Name = "Max Rydahl Andersen"; xam.StudentNumber = 101; s.Save(xam); Enrolment enrolment = new Enrolment(); enrolment.Course = course; enrolment.CourseCode = course.CourseCode; enrolment.Semester = 1; enrolment.Year = 1999; enrolment.Student = xam; enrolment.StudentNumber = xam.StudentNumber; xam.Enrolments.Add(enrolment); s.Save(enrolment); enrolment = new Enrolment(); enrolment.Course = course; enrolment.CourseCode = course.CourseCode; enrolment.Semester = 3; enrolment.Year = 1998; enrolment.Student = ayende; enrolment.StudentNumber = ayende.StudentNumber; ayende.Enrolments.Add(enrolment); s.Save(enrolment); tx.Commit(); } using (ISession s = OpenSession()) { IList list = s.CreateCriteria(typeof(Student)) .SetFirstResult(0) .SetMaxResults(2) .AddOrder(Order.Desc("StudentNumber")) .List(); foreach (Student student in list) { X foreach (Enrolment enrolment in student.Enrolments) { NHibernateUtil.Initialize(enrolment); } } Enrolment key = new Enrolment(); key.CourseCode = "HIB"; key.StudentNumber = 101;// xam //since we didn't load xam's entrollments before (skipped by orderring) //it should not be already loaded Enrolment shouldNotBeLoaded = (Enrolment)s.Load(typeof(Enrolment), key); Assert.IsFalse(NHibernateUtil.IsInitialized(shouldNotBeLoaded)); } using (ISession s = OpenSession()) using (ITransaction tx = s.BeginTransaction()) { s.Delete("from Enrolment"); s.Delete("from Student"); s.Delete("from Course"); tx.Commit(); } } 14:53:03,171 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - Mapping resource: NHibernate.Test.Criteria.Enrolment.hbm.xml 14:53:03,750 [TestRunnerThread] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.PostgreSQLDialect 14:53:03,796 [TestRunnerThread] INFO NHibernate.Cfg.HbmBinder - Mapping class: NHibernate.Test.Criteria.Course -> Course 14:53:03,843 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: CourseCode -> CourseCode, type: String 14:53:03,859 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: Description -> Description, type: String 14:53:03,859 [TestRunnerThread] INFO NHibernate.Cfg.HbmBinder - Mapping class: NHibernate.Test.Criteria.Student -> Student 14:53:03,859 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: StudentNumber -> studentId, type: Int64 14:53:03,875 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: Name -> Name, type: String 14:53:03,890 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: Enrolments, type: ISet 14:53:03,890 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: PreferredCourse -> preferredCourseCode, type: Course 14:53:03,890 [TestRunnerThread] INFO NHibernate.Cfg.HbmBinder - Mapping class: NHibernate.Test.Criteria.Enrolment -> Enrolment 14:53:03,906 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: StudentNumber -> studentId, type: Int64 14:53:03,906 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: CourseCode -> CourseCode, type: String 14:53:03,937 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: Student -> studentId, type: Student 14:53:03,937 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: Course -> CourseCode, type: Course 14:53:03,937 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: Semester -> Semester, type: Int16 14:53:03,937 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: Year -> Year, type: Int16 14:53:03,937 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - Mapping resource: NHibernate.Test.Criteria.Animal.hbm.xml 14:53:03,937 [TestRunnerThread] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.PostgreSQLDialect 14:53:03,937 [TestRunnerThread] INFO NHibernate.Cfg.HbmBinder - Mapping class: NHibernate.Test.Criteria.Animal -> Animal 14:53:03,953 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: id -> id, type: Int64 14:53:03,953 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: description -> description, type: String 14:53:03,953 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: bodyWeight -> body_weight, type: Single 14:53:03,953 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: mother -> mother_id, type: Animal 14:53:03,953 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: father -> father_id, type: Animal 14:53:03,953 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: serialNumber -> serialNumber, type: String 14:53:03,953 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: offspring, type: ISet 14:53:03,968 [TestRunnerThread] INFO NHibernate.Cfg.HbmBinder - Mapping joined-subclass: NHibernate.Test.Criteria.Reptile -> Reptile 14:53:03,984 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: bodyTemperature -> bodyTemperature, type: Single 14:53:03,984 [TestRunnerThread] INFO NHibernate.Cfg.HbmBinder - Mapping joined-subclass: NHibernate.Test.Criteria.Lizard -> Lizard 14:53:03,984 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - Mapping resource: NHibernate.Test.Criteria.MaterialResource.hbm.xml 14:53:03,984 [TestRunnerThread] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.PostgreSQLDialect 14:53:03,984 [TestRunnerThread] INFO NHibernate.Cfg.HbmBinder - Mapping class: NHibernate.Test.Criteria.MaterialResource -> MaterialResources 14:53:03,984 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: Id -> Id, type: Int64 14:53:03,984 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: Description -> Description, type: String 14:53:03,984 [TestRunnerThread] INFO NHibernate.Cfg.HbmBinder - Mapping class: NHibernate.Test.Criteria.MaterialUnit -> MaterialUnits 14:53:03,984 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: Id -> Id, type: Int64 14:53:04,000 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: Material -> materialId, type: MaterialUnitable 14:53:04,000 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: SerialNumber -> SerialNumber, type: String 14:53:04,000 [TestRunnerThread] INFO NHibernate.Cfg.HbmBinder - Mapping subclass: NHibernate.Test.Criteria.MaterialUnitable -> MaterialResources 14:53:04,000 [TestRunnerThread] INFO NHibernate.Cfg.HbmBinder - Mapping subclass: NHibernate.Test.Criteria.DeviceDef -> MaterialResources 14:53:04,015 [TestRunnerThread] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.PostgreSQLDialect 14:53:04,015 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - checking mappings queue 14:53:04,015 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-many association mappings 14:53:04,015 [TestRunnerThread] DEBUG NHibernate.Cfg.CollectionSecondPass - Second pass for collection: NHibernate.Test.Criteria.Student.Enrolments 14:53:04,031 [TestRunnerThread] INFO NHibernate.Cfg.HbmBinder - mapping collection: NHibernate.Test.Criteria.Student.Enrolments -> Enrolment 14:53:04,031 [TestRunnerThread] DEBUG NHibernate.Cfg.CollectionSecondPass - Mapped collection key: studentId, one-to-many: Enrolment 14:53:04,031 [TestRunnerThread] DEBUG NHibernate.Cfg.CollectionSecondPass - Second pass for collection: NHibernate.Test.Criteria.Animal.offspring 14:53:04,031 [TestRunnerThread] INFO NHibernate.Cfg.HbmBinder - mapping collection: NHibernate.Test.Criteria.Animal.offspring -> Animal 14:53:04,031 [TestRunnerThread] DEBUG NHibernate.Cfg.CollectionSecondPass - Mapped collection key: mother_id, one-to-many: Animal 14:53:04,031 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-one association property references 14:53:04,031 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing foreign key constraints 14:53:04,031 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: MaterialUnitable 14:53:04,046 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:04,046 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:04,046 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Course 14:53:04,046 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Student 14:53:04,046 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:04,046 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Course 14:53:04,046 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Reptile 14:53:04,062 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - checking mappings queue 14:53:04,062 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-many association mappings 14:53:04,062 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-one association property references 14:53:04,062 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing foreign key constraints 14:53:04,062 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: MaterialUnitable 14:53:04,062 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:04,062 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:04,078 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Course 14:53:04,078 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Student 14:53:04,078 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:04,078 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Course 14:53:04,078 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Reptile 14:53:04,093 [TestRunnerThread] INFO NHibernate.Connection.ConnectionProviderFactory - Initializing connection provider: NHibernate.Test.DebugConnectionProvider, NHibernate.Test 14:53:04,093 [TestRunnerThread] INFO NHibernate.Connection.ConnectionProvider - Configuring ConnectionProvider 14:53:04,140 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:53:04,703 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:53:04,718 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Disposing of ConnectionProvider. 14:53:04,718 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - checking mappings queue 14:53:04,718 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-many association mappings 14:53:04,718 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-one association property references 14:53:04,718 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing foreign key constraints 14:53:04,718 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: MaterialUnitable 14:53:04,718 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:04,718 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:04,718 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Course 14:53:04,718 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Student 14:53:04,734 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:04,734 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Course 14:53:04,734 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Reptile 14:53:04,750 [TestRunnerThread] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.PostgreSQLDialect 14:53:04,765 [TestRunnerThread] INFO NHibernate.Connection.ConnectionProviderFactory - Initializing connection provider: NHibernate.Test.DebugConnectionProvider, NHibernate.Test 14:53:04,765 [TestRunnerThread] INFO NHibernate.Connection.ConnectionProvider - Configuring ConnectionProvider 14:53:04,765 [TestRunnerThread] INFO NHibernate.Cfg.SettingsFactory - Transaction factory: NHibernate.Transaction.AdoNetTransactionFactory 14:53:04,765 [TestRunnerThread] INFO NHibernate.Cfg.SettingsFactory - Optimize cache for minimal puts: False 14:53:04,765 [TestRunnerThread] INFO NHibernate.Cfg.SettingsFactory - Connection release mode: auto 14:53:04,765 [TestRunnerThread] INFO NHibernate.Cfg.SettingsFactory - Query translator: NHibernate.Hql.Classic.ClassicQueryTranslatorFactory 14:53:04,765 [TestRunnerThread] INFO NHibernate.Cfg.SettingsFactory - Query language substitutions: {} 14:53:04,765 [TestRunnerThread] INFO NHibernate.Cfg.SettingsFactory - cache provider: NHibernate.Cache.HashtableCacheProvider, NHibernate 14:53:04,781 [TestRunnerThread] INFO NHibernate.Cfg.SettingsFactory - query cache factory: NHibernate.Cache.StandardQueryCacheFactory 14:53:04,781 [TestRunnerThread] INFO NHibernate.Cfg.SettingsFactory - Using Isolation Level: ReadCommitted 14:53:04,796 [TestRunnerThread] INFO NHibernate.Impl.SessionFactoryImpl - building session factory 14:53:04,812 [TestRunnerThread] DEBUG NHibernate.Impl.SessionFactoryImpl - instantiating session factory with properties: {hibernate.dialect=NHibernate.Dialect.PostgreSQLDialect, hibernate.cache.provider_class=NHibernate.Cache.HashtableCacheProvider, NHibernate, hibernate.use_reflection_optimizer=true, hibernate.connection.provider=NHibernate.Test.DebugConnectionProvider, NHibernate.Test, hibernate.connection.connection_string=Server=localhost;Database=nhibernate;User ID=postgres;Password=postgrespwd;, hibernate.connection.driver_class=NHibernate.Driver.NpgsqlDriver, hibernate.prepare_sql=false, hibernate.bytecode.provider=lcg, hibernate.cache.use_query_cache=true, hibernate.connection.isolation=ReadCommitted} 14:53:04,812 [TestRunnerThread] DEBUG NHibernate.Cache.CacheFactory - cache for: NHibernate.Test.Criteria.Student usage strategy: nonstrict-read-write 14:53:04,953 [TestRunnerThread] DEBUG NHibernate.Cache.CacheFactory - cache for: NHibernate.Test.Criteria.MaterialUnit usage strategy: nonstrict-read-write 14:53:04,968 [TestRunnerThread] DEBUG NHibernate.Cache.CacheFactory - cache for: NHibernate.Test.Criteria.Animal usage strategy: nonstrict-read-write 14:53:05,000 [TestRunnerThread] DEBUG NHibernate.Cache.CacheFactory - cache for: NHibernate.Test.Criteria.MaterialResource usage strategy: nonstrict-read-write 14:53:05,015 [TestRunnerThread] DEBUG NHibernate.Cache.CacheFactory - cache for: NHibernate.Test.Criteria.Enrolment usage strategy: nonstrict-read-write 14:53:05,015 [TestRunnerThread] DEBUG NHibernate.Cache.CacheFactory - cache for: NHibernate.Test.Criteria.Course usage strategy: nonstrict-read-write 14:53:05,015 [TestRunnerThread] DEBUG NHibernate.Cache.CacheFactory - cache for: NHibernate.Test.Criteria.Animal.offspring usage strategy: nonstrict-read-write 14:53:05,078 [TestRunnerThread] DEBUG NHibernate.Cache.CacheFactory - cache for: NHibernate.Test.Criteria.Student.Enrolments usage strategy: nonstrict-read-write 14:53:05,078 [TestRunnerThread] DEBUG NHibernate.Impl.SessionFactoryObjectFactory - initializing class SessionFactoryObjectFactory 14:53:05,078 [TestRunnerThread] DEBUG NHibernate.Impl.SessionFactoryObjectFactory - registered: 82d53292aea84144a0b93c6607d2299b(unnamed) 14:53:05,078 [TestRunnerThread] INFO NHibernate.Impl.SessionFactoryObjectFactory - no name configured 14:53:05,234 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Student: SELECT student0_.studentId as studentId1_0_, student0_.Name as Name1_0_, student0_.preferredCourseCode as preferre3_1_0_ FROM Student student0_ WHERE student0_.studentId=? 14:53:05,234 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Student: SELECT student0_.studentId as studentId1_0_, student0_.Name as Name1_0_, student0_.preferredCourseCode as preferre3_1_0_ FROM Student student0_ WHERE student0_.studentId=? 14:53:05,234 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 9 for the table Student student0_ 14:53:05,250 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Student: SELECT student0_.studentId as studentId1_0_, student0_.Name as Name1_0_, student0_.preferredCourseCode as preferre3_1_0_ FROM Student student0_ WHERE student0_.studentId=? for update 14:53:05,250 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 9 for the table Student student0_ 14:53:05,250 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Student: SELECT student0_.studentId as studentId1_0_, student0_.Name as Name1_0_, student0_.preferredCourseCode as preferre3_1_0_ FROM Student student0_ WHERE student0_.studentId=? for update 14:53:05,265 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Reptile: SELECT reptile0_.animal as id3_0_, reptile0_.bodyTemperature as bodyTemp2_4_0_, reptile0_1_.description as descript2_3_0_, reptile0_1_.body_weight as body3_3_0_, reptile0_1_.mother_id as mother4_3_0_, reptile0_1_.father_id as father5_3_0_, reptile0_1_.serialNumber as serialNu6_3_0_, case when reptile0_2_.reptile is not null then 2 when reptile0_.animal is not null then 1 end as clazz_0_ FROM Reptile reptile0_ inner join Animal reptile0_1_ on reptile0_.animal=reptile0_1_.id left outer join Lizard reptile0_2_ on reptile0_.animal=reptile0_2_.reptile WHERE reptile0_.animal=? 14:53:05,281 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Reptile: SELECT reptile0_.animal as id3_0_, reptile0_.bodyTemperature as bodyTemp2_4_0_, reptile0_1_.description as descript2_3_0_, reptile0_1_.body_weight as body3_3_0_, reptile0_1_.mother_id as mother4_3_0_, reptile0_1_.father_id as father5_3_0_, reptile0_1_.serialNumber as serialNu6_3_0_, case when reptile0_2_.reptile is not null then 2 when reptile0_.animal is not null then 1 end as clazz_0_ FROM Reptile reptile0_ inner join Animal reptile0_1_ on reptile0_.animal=reptile0_1_.id left outer join Lizard reptile0_2_ on reptile0_.animal=reptile0_2_.reptile WHERE reptile0_.animal=? 14:53:05,281 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 9 for the table Reptile reptile0_ inner join Animal reptile0_1_ on reptile0_.animal=reptile0_1_.id left outer join Lizard reptile0_2_ on reptile0_.animal=reptile0_2_.reptile 14:53:05,281 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Reptile: SELECT reptile0_.animal as id3_0_, reptile0_.bodyTemperature as bodyTemp2_4_0_, reptile0_1_.description as descript2_3_0_, reptile0_1_.body_weight as body3_3_0_, reptile0_1_.mother_id as mother4_3_0_, reptile0_1_.father_id as father5_3_0_, reptile0_1_.serialNumber as serialNu6_3_0_, case when reptile0_2_.reptile is not null then 2 when reptile0_.animal is not null then 1 end as clazz_0_ FROM Reptile reptile0_ inner join Animal reptile0_1_ on reptile0_.animal=reptile0_1_.id left outer join Lizard reptile0_2_ on reptile0_.animal=reptile0_2_.reptile WHERE reptile0_.animal=? for update 14:53:05,281 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 9 for the table Reptile reptile0_ inner join Animal reptile0_1_ on reptile0_.animal=reptile0_1_.id left outer join Lizard reptile0_2_ on reptile0_.animal=reptile0_2_.reptile 14:53:05,281 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Reptile: SELECT reptile0_.animal as id3_0_, reptile0_.bodyTemperature as bodyTemp2_4_0_, reptile0_1_.description as descript2_3_0_, reptile0_1_.body_weight as body3_3_0_, reptile0_1_.mother_id as mother4_3_0_, reptile0_1_.father_id as father5_3_0_, reptile0_1_.serialNumber as serialNu6_3_0_, case when reptile0_2_.reptile is not null then 2 when reptile0_.animal is not null then 1 end as clazz_0_ FROM Reptile reptile0_ inner join Animal reptile0_1_ on reptile0_.animal=reptile0_1_.id left outer join Lizard reptile0_2_ on reptile0_.animal=reptile0_2_.reptile WHERE reptile0_.animal=? for update 14:53:05,296 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.MaterialResource: SELECT materialre0_.Id as Id6_0_, materialre0_.Description as Descript3_6_0_, materialre0_.materialType as material2_0_ FROM MaterialResources materialre0_ WHERE materialre0_.Id=? 14:53:05,296 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.MaterialResource: SELECT materialre0_.Id as Id6_0_, materialre0_.Description as Descript3_6_0_, materialre0_.materialType as material2_0_ FROM MaterialResources materialre0_ WHERE materialre0_.Id=? 14:53:05,296 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 9 for the table MaterialResources materialre0_ 14:53:05,296 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.MaterialResource: SELECT materialre0_.Id as Id6_0_, materialre0_.Description as Descript3_6_0_, materialre0_.materialType as material2_0_ FROM MaterialResources materialre0_ WHERE materialre0_.Id=? for update 14:53:05,296 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 9 for the table MaterialResources materialre0_ 14:53:05,312 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.MaterialResource: SELECT materialre0_.Id as Id6_0_, materialre0_.Description as Descript3_6_0_, materialre0_.materialType as material2_0_ FROM MaterialResources materialre0_ WHERE materialre0_.Id=? for update 14:53:05,312 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Lizard: SELECT lizard0_.reptile as id3_0_, lizard0_1_.bodyTemperature as bodyTemp2_4_0_, lizard0_2_.description as descript2_3_0_, lizard0_2_.body_weight as body3_3_0_, lizard0_2_.mother_id as mother4_3_0_, lizard0_2_.father_id as father5_3_0_, lizard0_2_.serialNumber as serialNu6_3_0_ FROM Lizard lizard0_ inner join Reptile lizard0_1_ on lizard0_.reptile=lizard0_1_.animal inner join Animal lizard0_2_ on lizard0_.reptile=lizard0_2_.id WHERE lizard0_.reptile=? 14:53:05,312 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Lizard: SELECT lizard0_.reptile as id3_0_, lizard0_1_.bodyTemperature as bodyTemp2_4_0_, lizard0_2_.description as descript2_3_0_, lizard0_2_.body_weight as body3_3_0_, lizard0_2_.mother_id as mother4_3_0_, lizard0_2_.father_id as father5_3_0_, lizard0_2_.serialNumber as serialNu6_3_0_ FROM Lizard lizard0_ inner join Reptile lizard0_1_ on lizard0_.reptile=lizard0_1_.animal inner join Animal lizard0_2_ on lizard0_.reptile=lizard0_2_.id WHERE lizard0_.reptile=? 14:53:05,312 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 9 for the table Lizard lizard0_ inner join Reptile lizard0_1_ on lizard0_.reptile=lizard0_1_.animal inner join Animal lizard0_2_ on lizard0_.reptile=lizard0_2_.id 14:53:05,312 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Lizard: SELECT lizard0_.reptile as id3_0_, lizard0_1_.bodyTemperature as bodyTemp2_4_0_, lizard0_2_.description as descript2_3_0_, lizard0_2_.body_weight as body3_3_0_, lizard0_2_.mother_id as mother4_3_0_, lizard0_2_.father_id as father5_3_0_, lizard0_2_.serialNumber as serialNu6_3_0_ FROM Lizard lizard0_ inner join Reptile lizard0_1_ on lizard0_.reptile=lizard0_1_.animal inner join Animal lizard0_2_ on lizard0_.reptile=lizard0_2_.id WHERE lizard0_.reptile=? for update 14:53:05,312 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 9 for the table Lizard lizard0_ inner join Reptile lizard0_1_ on lizard0_.reptile=lizard0_1_.animal inner join Animal lizard0_2_ on lizard0_.reptile=lizard0_2_.id 14:53:05,312 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Lizard: SELECT lizard0_.reptile as id3_0_, lizard0_1_.bodyTemperature as bodyTemp2_4_0_, lizard0_2_.description as descript2_3_0_, lizard0_2_.body_weight as body3_3_0_, lizard0_2_.mother_id as mother4_3_0_, lizard0_2_.father_id as father5_3_0_, lizard0_2_.serialNumber as serialNu6_3_0_ FROM Lizard lizard0_ inner join Reptile lizard0_1_ on lizard0_.reptile=lizard0_1_.animal inner join Animal lizard0_2_ on lizard0_.reptile=lizard0_2_.id WHERE lizard0_.reptile=? for update 14:53:05,312 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Course: SELECT course0_.CourseCode as CourseCode0_0_, course0_.Description as Descript2_0_0_ FROM Course course0_ WHERE course0_.CourseCode=? 14:53:05,312 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Course: SELECT course0_.CourseCode as CourseCode0_0_, course0_.Description as Descript2_0_0_ FROM Course course0_ WHERE course0_.CourseCode=? 14:53:05,312 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 9 for the table Course course0_ 14:53:05,312 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Course: SELECT course0_.CourseCode as CourseCode0_0_, course0_.Description as Descript2_0_0_ FROM Course course0_ WHERE course0_.CourseCode=? for update 14:53:05,328 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 9 for the table Course course0_ 14:53:05,328 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Course: SELECT course0_.CourseCode as CourseCode0_0_, course0_.Description as Descript2_0_0_ FROM Course course0_ WHERE course0_.CourseCode=? for update 14:53:05,328 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.MaterialUnit: SELECT materialun0_.Id as Id7_1_, materialun0_.materialId as materialId7_1_, materialun0_.SerialNumber as SerialNu3_7_1_, materialun1_.Id as Id6_0_, materialun1_.Description as Descript3_6_0_, materialun1_.materialType as material2_0_ FROM MaterialUnits materialun0_ inner join MaterialResources materialun1_ on materialun0_.materialId=materialun1_.Id WHERE materialun0_.Id=? 14:53:05,328 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.MaterialUnit: SELECT materialun0_.Id as Id7_1_, materialun0_.materialId as materialId7_1_, materialun0_.SerialNumber as SerialNu3_7_1_, materialun1_.Id as Id6_0_, materialun1_.Description as Descript3_6_0_, materialun1_.materialType as material2_0_ FROM MaterialUnits materialun0_ inner join MaterialResources materialun1_ on materialun0_.materialId=materialun1_.Id WHERE materialun0_.Id=? 14:53:05,328 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 9 for the table MaterialUnits materialun0_ 14:53:05,343 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.MaterialUnit: SELECT materialun0_.Id as Id7_0_, materialun0_.materialId as materialId7_0_, materialun0_.SerialNumber as SerialNu3_7_0_ FROM MaterialUnits materialun0_ WHERE materialun0_.Id=? for update 14:53:05,343 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 9 for the table MaterialUnits materialun0_ 14:53:05,343 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.MaterialUnit: SELECT materialun0_.Id as Id7_0_, materialun0_.materialId as materialId7_0_, materialun0_.SerialNumber as SerialNu3_7_0_ FROM MaterialUnits materialun0_ WHERE materialun0_.Id=? for update 14:53:05,343 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Animal: SELECT animal0_.id as id3_0_, animal0_.description as descript2_3_0_, animal0_.body_weight as body3_3_0_, animal0_.mother_id as mother4_3_0_, animal0_.father_id as father5_3_0_, animal0_.serialNumber as serialNu6_3_0_, animal0_1_.bodyTemperature as bodyTemp2_4_0_, case when animal0_2_.reptile is not null then 2 when animal0_1_.animal is not null then 1 when animal0_.id is not null then 0 end as clazz_0_ FROM Animal animal0_ left outer join Reptile animal0_1_ on animal0_.id=animal0_1_.animal left outer join Lizard animal0_2_ on animal0_.id=animal0_2_.reptile WHERE animal0_.id=? 14:53:05,343 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Animal: SELECT animal0_.id as id3_0_, animal0_.description as descript2_3_0_, animal0_.body_weight as body3_3_0_, animal0_.mother_id as mother4_3_0_, animal0_.father_id as father5_3_0_, animal0_.serialNumber as serialNu6_3_0_, animal0_1_.bodyTemperature as bodyTemp2_4_0_, case when animal0_2_.reptile is not null then 2 when animal0_1_.animal is not null then 1 when animal0_.id is not null then 0 end as clazz_0_ FROM Animal animal0_ left outer join Reptile animal0_1_ on animal0_.id=animal0_1_.animal left outer join Lizard animal0_2_ on animal0_.id=animal0_2_.reptile WHERE animal0_.id=? 14:53:05,343 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 9 for the table Animal animal0_ left outer join Reptile animal0_1_ on animal0_.id=animal0_1_.animal left outer join Lizard animal0_2_ on animal0_.id=animal0_2_.reptile 14:53:05,343 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Animal: SELECT animal0_.id as id3_0_, animal0_.description as descript2_3_0_, animal0_.body_weight as body3_3_0_, animal0_.mother_id as mother4_3_0_, animal0_.father_id as father5_3_0_, animal0_.serialNumber as serialNu6_3_0_, animal0_1_.bodyTemperature as bodyTemp2_4_0_, case when animal0_2_.reptile is not null then 2 when animal0_1_.animal is not null then 1 when animal0_.id is not null then 0 end as clazz_0_ FROM Animal animal0_ left outer join Reptile animal0_1_ on animal0_.id=animal0_1_.animal left outer join Lizard animal0_2_ on animal0_.id=animal0_2_.reptile WHERE animal0_.id=? for update 14:53:05,343 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 9 for the table Animal animal0_ left outer join Reptile animal0_1_ on animal0_.id=animal0_1_.animal left outer join Lizard animal0_2_ on animal0_.id=animal0_2_.reptile 14:53:05,343 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Animal: SELECT animal0_.id as id3_0_, animal0_.description as descript2_3_0_, animal0_.body_weight as body3_3_0_, animal0_.mother_id as mother4_3_0_, animal0_.father_id as father5_3_0_, animal0_.serialNumber as serialNu6_3_0_, animal0_1_.bodyTemperature as bodyTemp2_4_0_, case when animal0_2_.reptile is not null then 2 when animal0_1_.animal is not null then 1 when animal0_.id is not null then 0 end as clazz_0_ FROM Animal animal0_ left outer join Reptile animal0_1_ on animal0_.id=animal0_1_.animal left outer join Lizard animal0_2_ on animal0_.id=animal0_2_.reptile WHERE animal0_.id=? for update 14:53:05,343 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 12 for the table Enrolment enrolment_ 14:53:05,359 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 12 for the table Enrolment enrolment0_ 14:53:05,359 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Enrolment: SELECT enrolment0_.studentId as studentId2_0_, enrolment0_.CourseCode as CourseCode2_0_, enrolment0_.Semester as Semester2_0_, enrolment0_."Year" as Year4_2_0_ FROM Enrolment enrolment0_ WHERE enrolment0_.studentId=? and enrolment0_.CourseCode=? 14:53:05,359 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 12 for the table Enrolment enrolment0_ 14:53:05,359 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Enrolment: SELECT enrolment0_.studentId as studentId2_0_, enrolment0_.CourseCode as CourseCode2_0_, enrolment0_.Semester as Semester2_0_, enrolment0_."Year" as Year4_2_0_ FROM Enrolment enrolment0_ WHERE enrolment0_.studentId=? and enrolment0_.CourseCode=? 14:53:05,359 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 13 for the table Enrolment enrolment0_ 14:53:05,359 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Enrolment: SELECT enrolment0_.studentId as studentId2_0_, enrolment0_.CourseCode as CourseCode2_0_, enrolment0_.Semester as Semester2_0_, enrolment0_."Year" as Year4_2_0_ FROM Enrolment enrolment0_ WHERE enrolment0_.studentId=? and enrolment0_.CourseCode=? for update 14:53:05,359 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 13 for the table Enrolment enrolment0_ 14:53:05,359 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.Enrolment: SELECT enrolment0_.studentId as studentId2_0_, enrolment0_.CourseCode as CourseCode2_0_, enrolment0_.Semester as Semester2_0_, enrolment0_."Year" as Year4_2_0_ FROM Enrolment enrolment0_ WHERE enrolment0_.studentId=? and enrolment0_.CourseCode=? for update 14:53:05,359 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 9 for the table MaterialResources materialun0_ 14:53:05,375 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.MaterialUnitable: SELECT materialun0_.Id as Id6_0_, materialun0_.Description as Descript3_6_0_, materialun0_.materialType as material2_0_ FROM MaterialResources materialun0_ WHERE materialun0_.Id=? and materialun0_.materialType in ('MU', 'GD') 14:53:05,375 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 9 for the table MaterialResources materialun0_ 14:53:05,375 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.MaterialUnitable: SELECT materialun0_.Id as Id6_0_, materialun0_.Description as Descript3_6_0_, materialun0_.materialType as material2_0_ FROM MaterialResources materialun0_ WHERE materialun0_.Id=? and materialun0_.materialType in ('MU', 'GD') 14:53:05,375 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 10 for the table MaterialResources materialun0_ 14:53:05,375 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.MaterialUnitable: SELECT materialun0_.Id as Id6_0_, materialun0_.Description as Descript3_6_0_, materialun0_.materialType as material2_0_ FROM MaterialResources materialun0_ WHERE materialun0_.Id=? and materialun0_.materialType in ('MU', 'GD') for update 14:53:05,375 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 10 for the table MaterialResources materialun0_ 14:53:05,375 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.MaterialUnitable: SELECT materialun0_.Id as Id6_0_, materialun0_.Description as Descript3_6_0_, materialun0_.materialType as material2_0_ FROM MaterialResources materialun0_ WHERE materialun0_.Id=? and materialun0_.materialType in ('MU', 'GD') for update 14:53:05,375 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 9 for the table MaterialResources devicedef0_ 14:53:05,375 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.DeviceDef: SELECT devicedef0_.Id as Id6_0_, devicedef0_.Description as Descript3_6_0_ FROM MaterialResources devicedef0_ WHERE devicedef0_.Id=? and devicedef0_.materialType='GD' 14:53:05,375 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 9 for the table MaterialResources devicedef0_ 14:53:05,375 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.DeviceDef: SELECT devicedef0_.Id as Id6_0_, devicedef0_.Description as Descript3_6_0_ FROM MaterialResources devicedef0_ WHERE devicedef0_.Id=? and devicedef0_.materialType='GD' 14:53:05,390 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 10 for the table MaterialResources devicedef0_ 14:53:05,390 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.DeviceDef: SELECT devicedef0_.Id as Id6_0_, devicedef0_.Description as Descript3_6_0_ FROM MaterialResources devicedef0_ WHERE devicedef0_.Id=? and devicedef0_.materialType='GD' for update 14:53:05,406 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 10 for the table MaterialResources devicedef0_ 14:53:05,406 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.Criteria.DeviceDef: SELECT devicedef0_.Id as Id6_0_, devicedef0_.Description as Descript3_6_0_ FROM MaterialResources devicedef0_ WHERE devicedef0_.Id=? and devicedef0_.materialType='GD' for update 14:53:05,421 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 10 for the table Animal offspring0_ left outer join Reptile offspring0_1_ on offspring0_.id=offspring0_1_.animal left outer join Lizard offspring0_2_ on offspring0_.id=offspring0_2_.reptile 14:53:05,437 [TestRunnerThread] DEBUG NHibernate.Loader.Collection.OneToManyLoader - Static select for one-to-many NHibernate.Test.Criteria.Animal.offspring: SELECT offspring0_.mother_id as mother4___1_, offspring0_.id as id1_, offspring0_.id as id3_0_, offspring0_.description as descript2_3_0_, offspring0_.body_weight as body3_3_0_, offspring0_.mother_id as mother4_3_0_, offspring0_.father_id as father5_3_0_, offspring0_.serialNumber as serialNu6_3_0_, offspring0_1_.bodyTemperature as bodyTemp2_4_0_, case when offspring0_2_.reptile is not null then 2 when offspring0_1_.animal is not null then 1 when offspring0_.id is not null then 0 end as clazz_0_ FROM Animal offspring0_ left outer join Reptile offspring0_1_ on offspring0_.id=offspring0_1_.animal left outer join Lizard offspring0_2_ on offspring0_.id=offspring0_2_.reptile WHERE offspring0_.mother_id=? ORDER BY offspring0_.father_id 14:53:05,437 [TestRunnerThread] DEBUG NHibernate.Loader.Collection.OneToManyLoader - Static select for one-to-many NHibernate.Test.Criteria.Student.Enrolments: SELECT enrolments0_.studentId as studentId__1_, enrolments0_.studentId as studentId1_, enrolments0_.CourseCode as CourseCode1_, enrolments0_.studentId as studentId2_0_, enrolments0_.CourseCode as CourseCode2_0_, enrolments0_.Semester as Semester2_0_, enrolments0_."Year" as Year4_2_0_ FROM Enrolment enrolments0_ WHERE enrolments0_.studentId=? 14:53:05,437 [TestRunnerThread] DEBUG NHibernate.Impl.SessionFactoryImpl - Instantiated session factory 14:53:05,437 [TestRunnerThread] INFO NHibernate.Cache.UpdateTimestampsCache - starting update timestamps cache at region: UpdateTimestampsCache 14:53:05,453 [TestRunnerThread] INFO NHibernate.Cache.StandardQueryCache - starting query cache at region: NHibernate.Cache.StandardQueryCache 14:53:05,468 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - opened session 14:53:05,484 [TestRunnerThread] DEBUG NHibernate.Transaction.AdoTransaction - begin 14:53:05,484 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:53:05,515 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - generated identifier: HIB 14:53:05,515 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - saving [NHibernate.Test.Criteria.Course#HIB] 14:53:05,546 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - generated identifier: 667 14:53:05,546 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - saving [NHibernate.Test.Criteria.Student#667] 14:53:05,546 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - processing cascades for: NHibernate.Test.Criteria.Student 14:53:05,546 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - done processing cascades for: NHibernate.Test.Criteria.Student 14:53:05,562 [TestRunnerThread] DEBUG NHibernate.Impl.WrapVisitor - Wrapped collection in role: NHibernate.Test.Criteria.Student.Enrolments 14:53:05,562 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - processing cascades for: NHibernate.Test.Criteria.Student 14:53:05,562 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - done processing cascades for: NHibernate.Test.Criteria.Student 14:53:05,578 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - generated identifier: 1337 14:53:05,578 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - saving [NHibernate.Test.Criteria.Student#1337] 14:53:05,578 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - processing cascades for: NHibernate.Test.Criteria.Student 14:53:05,578 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - done processing cascades for: NHibernate.Test.Criteria.Student 14:53:05,578 [TestRunnerThread] DEBUG NHibernate.Impl.WrapVisitor - Wrapped collection in role: NHibernate.Test.Criteria.Student.Enrolments 14:53:05,578 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - processing cascades for: NHibernate.Test.Criteria.Student 14:53:05,578 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - done processing cascades for: NHibernate.Test.Criteria.Student 14:53:05,578 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - generated identifier: 101 14:53:05,578 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - saving [NHibernate.Test.Criteria.Student#101] 14:53:05,578 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - processing cascades for: NHibernate.Test.Criteria.Student 14:53:05,593 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - done processing cascades for: NHibernate.Test.Criteria.Student 14:53:05,593 [TestRunnerThread] DEBUG NHibernate.Impl.WrapVisitor - Wrapped collection in role: NHibernate.Test.Criteria.Student.Enrolments 14:53:05,593 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - processing cascades for: NHibernate.Test.Criteria.Student 14:53:05,593 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - done processing cascades for: NHibernate.Test.Criteria.Student 14:53:05,593 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - generated identifier: NHibernate.Test.Criteria.Enrolment 14:53:05,609 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - saving [NHibernate.Test.Criteria.Enrolment#NHibernate.Test.Criteria.Enrolment] 14:53:05,609 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - generated identifier: NHibernate.Test.Criteria.Enrolment 14:53:05,609 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - saving [NHibernate.Test.Criteria.Enrolment#NHibernate.Test.Criteria.Enrolment] 14:53:05,609 [TestRunnerThread] DEBUG NHibernate.Transaction.AdoTransaction - commit 14:53:05,625 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - flushing session 14:53:05,625 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - processing cascades for: NHibernate.Test.Criteria.Student 14:53:05,625 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - done processing cascades for: NHibernate.Test.Criteria.Student 14:53:05,640 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - processing cascades for: NHibernate.Test.Criteria.Student 14:53:05,640 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - done processing cascades for: NHibernate.Test.Criteria.Student 14:53:05,640 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - processing cascades for: NHibernate.Test.Criteria.Student 14:53:05,640 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - done processing cascades for: NHibernate.Test.Criteria.Student 14:53:05,640 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Flushing entities and processing referenced collections 14:53:05,656 [TestRunnerThread] DEBUG NHibernate.Impl.AbstractVisitor - Processing collection for role NHibernate.Test.Criteria.Student.Enrolments 14:53:05,671 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Collection found: [NHibernate.Test.Criteria.Student.Enrolments#667], was: [] 14:53:05,671 [TestRunnerThread] DEBUG NHibernate.Impl.AbstractVisitor - Processing collection for role NHibernate.Test.Criteria.Student.Enrolments 14:53:05,671 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Collection found: [NHibernate.Test.Criteria.Student.Enrolments#1337], was: [] 14:53:05,671 [TestRunnerThread] DEBUG NHibernate.Impl.AbstractVisitor - Processing collection for role NHibernate.Test.Criteria.Student.Enrolments 14:53:05,671 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Collection found: [NHibernate.Test.Criteria.Student.Enrolments#101], was: [] 14:53:05,687 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Processing unreferenced collections 14:53:05,703 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - scheduling collection removes/(re)creates/updates 14:53:05,703 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Flushed: 6 insertions, 0 updates, 0 deletions to 6 objects 14:53:05,703 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Flushed: 3 (re)creations, 0 updates, 0 removals to 3 collections 14:53:05,703 [TestRunnerThread] DEBUG NHibernate.Impl.Printer - listing entities: 14:53:05,718 [TestRunnerThread] DEBUG NHibernate.Impl.Printer - NHibernate.Test.Criteria.Enrolment{Course=Course#HIB, Student=Student#1337, Year=1998, Semester=3} 14:53:05,718 [TestRunnerThread] DEBUG NHibernate.Impl.Printer - NHibernate.Test.Criteria.Enrolment{Course=Course#HIB, Student=Student#101, Year=1999, Semester=1} 14:53:05,718 [TestRunnerThread] DEBUG NHibernate.Impl.Printer - NHibernate.Test.Criteria.Course{CourseCode=HIB, Description=Hibernate Training} 14:53:05,734 [TestRunnerThread] DEBUG NHibernate.Impl.Printer - NHibernate.Test.Criteria.Student{Name=Max Rydahl Andersen, PreferredCourse=null, Enrolments=[Enrolment], StudentNumber=101} 14:53:05,734 [TestRunnerThread] DEBUG NHibernate.Impl.Printer - NHibernate.Test.Criteria.Student{Name=Gavin King, PreferredCourse=null, Enrolments=[], StudentNumber=667} 14:53:05,734 [TestRunnerThread] DEBUG NHibernate.Impl.Printer - NHibernate.Test.Criteria.Student{Name=Ayende Rahien, PreferredCourse=null, Enrolments=[Enrolment], StudentNumber=1337} 14:53:05,734 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - executing flush 14:53:05,734 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - registering flush begin 14:53:05,750 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Inserting entity: [NHibernate.Test.Criteria.Course#HIB] 14:53:05,781 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:53:05,781 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: INSERT INTO Course (Description, CourseCode) VALUES (?, ?) 14:53:05,796 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Dehydrating entity: [NHibernate.Test.Criteria.Course#HIB] 14:53:05,796 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'Hibernate Training' to parameter: 0 14:53:05,796 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'HIB' to parameter: 1 14:53:05,812 [TestRunnerThread] DEBUG NHibernate.SQL - INSERT INTO Course (Description, CourseCode) VALUES (:p0, :p1); :p0 = 'Hibernate Training', :p1 = 'HIB' 14:53:05,828 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Inserting entity: [NHibernate.Test.Criteria.Student#667] 14:53:05,828 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:53:05,843 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:53:05,843 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: INSERT INTO Student (Name, preferredCourseCode, studentId) VALUES (?, ?, ?) 14:53:05,843 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Dehydrating entity: [NHibernate.Test.Criteria.Student#667] 14:53:05,843 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'Gavin King' to parameter: 0 14:53:05,843 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding null to parameter: 1 14:53:05,843 [TestRunnerThread] DEBUG NHibernate.Type.Int64Type - binding '667' to parameter: 2 14:53:05,843 [TestRunnerThread] DEBUG NHibernate.SQL - INSERT INTO Student (Name, preferredCourseCode, studentId) VALUES (:p0, :p1, :p2); :p0 = 'Gavin King', :p1 = '', :p2 = '667' 14:53:05,859 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Inserting entity: [NHibernate.Test.Criteria.Student#1337] 14:53:05,859 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - reusing command INSERT INTO Student (Name, preferredCourseCode, studentId) VALUES (:p0, :p1, :p2) 14:53:05,859 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Dehydrating entity: [NHibernate.Test.Criteria.Student#1337] 14:53:05,859 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'Ayende Rahien' to parameter: 0 14:53:05,859 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding null to parameter: 1 14:53:05,859 [TestRunnerThread] DEBUG NHibernate.Type.Int64Type - binding '1337' to parameter: 2 14:53:05,859 [TestRunnerThread] DEBUG NHibernate.SQL - INSERT INTO Student (Name, preferredCourseCode, studentId) VALUES (:p0, :p1, :p2); :p0 = 'Ayende Rahien', :p1 = '', :p2 = '1337' 14:53:05,875 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Inserting entity: [NHibernate.Test.Criteria.Student#101] 14:53:05,875 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - reusing command INSERT INTO Student (Name, preferredCourseCode, studentId) VALUES (:p0, :p1, :p2) 14:53:05,875 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Dehydrating entity: [NHibernate.Test.Criteria.Student#101] 14:53:05,875 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'Max Rydahl Andersen' to parameter: 0 14:53:05,875 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding null to parameter: 1 14:53:05,875 [TestRunnerThread] DEBUG NHibernate.Type.Int64Type - binding '101' to parameter: 2 14:53:05,875 [TestRunnerThread] DEBUG NHibernate.SQL - INSERT INTO Student (Name, preferredCourseCode, studentId) VALUES (:p0, :p1, :p2); :p0 = 'Max Rydahl Andersen', :p1 = '', :p2 = '101' 14:53:05,875 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Inserting entity: [NHibernate.Test.Criteria.Enrolment#NHibernate.Test.Criteria.Enrolment] 14:53:05,875 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:53:05,875 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:53:05,890 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: INSERT INTO Enrolment (Semester, "Year", studentId, CourseCode) VALUES (?, ?, ?, ?) 14:53:05,890 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Dehydrating entity: [NHibernate.Test.Criteria.Enrolment#NHibernate.Test.Criteria.Enrolment] 14:53:05,890 [TestRunnerThread] DEBUG NHibernate.Type.Int16Type - binding '1' to parameter: 0 14:53:05,890 [TestRunnerThread] DEBUG NHibernate.Type.Int16Type - binding '1999' to parameter: 1 14:53:05,890 [TestRunnerThread] DEBUG NHibernate.Type.Int64Type - binding '101' to parameter: 2 14:53:05,890 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'HIB' to parameter: 3 14:53:05,890 [TestRunnerThread] DEBUG NHibernate.SQL - INSERT INTO Enrolment (Semester, "Year", studentId, CourseCode) VALUES (:p0, :p1, :p2, :p3); :p0 = '1', :p1 = '1999', :p2 = '101', :p3 = 'HIB' 14:53:05,906 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Inserting entity: [NHibernate.Test.Criteria.Enrolment#NHibernate.Test.Criteria.Enrolment] 14:53:05,906 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - reusing command INSERT INTO Enrolment (Semester, "Year", studentId, CourseCode) VALUES (:p0, :p1, :p2, :p3) 14:53:05,906 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Dehydrating entity: [NHibernate.Test.Criteria.Enrolment#NHibernate.Test.Criteria.Enrolment] 14:53:05,906 [TestRunnerThread] DEBUG NHibernate.Type.Int16Type - binding '3' to parameter: 0 14:53:05,906 [TestRunnerThread] DEBUG NHibernate.Type.Int16Type - binding '1998' to parameter: 1 14:53:05,906 [TestRunnerThread] DEBUG NHibernate.Type.Int64Type - binding '1337' to parameter: 2 14:53:05,921 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'HIB' to parameter: 3 14:53:05,921 [TestRunnerThread] DEBUG NHibernate.SQL - INSERT INTO Enrolment (Semester, "Year", studentId, CourseCode) VALUES (:p0, :p1, :p2, :p3); :p0 = '3', :p1 = '1998', :p2 = '1337', :p3 = 'HIB' 14:53:05,921 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:53:05,937 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Invalidating: NHibernate.Test.Criteria.Student.Enrolments#667 14:53:05,937 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Invalidating: NHibernate.Test.Criteria.Student.Enrolments#1337 14:53:05,937 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Invalidating: NHibernate.Test.Criteria.Student.Enrolments#101 14:53:05,937 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - registering flush end 14:53:05,937 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - post flush 14:53:05,937 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - before transaction completion 14:53:05,953 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - aggressively releasing database connection 14:53:05,953 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:53:05,953 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - transaction completion 14:53:05,968 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [Course] 14:53:05,968 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [Student] 14:53:05,968 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [Student] 14:53:05,968 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [Student] 14:53:05,968 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [Enrolment] 14:53:05,968 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [Enrolment] 14:53:05,968 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Invalidating (again): NHibernate.Test.Criteria.Student.Enrolments#667 14:53:05,968 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [Enrolment] 14:53:05,968 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Invalidating (again): NHibernate.Test.Criteria.Student.Enrolments#1337 14:53:05,968 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [Enrolment] 14:53:05,968 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Invalidating (again): NHibernate.Test.Criteria.Student.Enrolments#101 14:53:05,968 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [Enrolment] 14:53:05,984 [TestRunnerThread] DEBUG NHibernate.Transaction.AdoTransaction - running AdoTransaction.Dispose() 14:53:05,984 [TestRunnerThread] DEBUG NHibernate.Transaction.AdoTransaction - running AdoTransaction.Dispose() 14:53:05,984 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - running ISession.Dispose() 14:53:05,984 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - closing session 14:53:05,984 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - running BatcherImpl.Dispose(true) 14:53:05,984 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - opened session 14:53:06,031 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - flushing session 14:53:06,031 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Flushing entities and processing referenced collections 14:53:06,031 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Processing unreferenced collections 14:53:06,031 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - scheduling collection removes/(re)creates/updates 14:53:06,031 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Flushed: 0 insertions, 0 updates, 0 deletions to 0 objects 14:53:06,031 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections 14:53:06,046 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - dont need to execute flush 14:53:06,078 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:53:06,078 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: SELECT this_.studentId as studentId1_0_, this_.Name as Name1_0_, this_.preferredCourseCode as preferre3_1_0_ FROM Student this_ ORDER BY this_.studentId desc limit ? 14:53:06,093 [TestRunnerThread] INFO NHibernate.Loader.Loader - SELECT this_.studentId as studentId1_0_, this_.Name as Name1_0_, this_.preferredCourseCode as preferre3_1_0_ FROM Student this_ ORDER BY this_.studentId desc limit :p0 14:53:06,093 [TestRunnerThread] DEBUG NHibernate.SQL - SELECT this_.studentId as studentId1_0_, this_.Name as Name1_0_, this_.preferredCourseCode as preferre3_1_0_ FROM Student this_ ORDER BY this_.studentId desc limit :p0; :p0 = '2' 14:53:06,093 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:53:06,109 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened IDataReader, open IDataReaders: 1 14:53:06,109 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - processing result set 14:53:06,109 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result set row: 0 14:53:06,125 [TestRunnerThread] DEBUG NHibernate.Type.Int64Type - returning '1337' as column: studentId1_0_ 14:53:06,125 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result row: 1337 14:53:06,140 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Initializing object from DataReader: [NHibernate.Test.Criteria.Student#1337] 14:53:06,140 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Hydrating entity: NHibernate.Test.Criteria.Student#1337 14:53:06,140 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'Ayende Rahien' as column: Name1_0_ 14:53:06,156 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning null as column: preferre3_1_0_ 14:53:06,156 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result set row: 1 14:53:06,156 [TestRunnerThread] DEBUG NHibernate.Type.Int64Type - returning '667' as column: studentId1_0_ 14:53:06,156 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result row: 667 14:53:06,156 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Initializing object from DataReader: [NHibernate.Test.Criteria.Student#667] 14:53:06,156 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Hydrating entity: NHibernate.Test.Criteria.Student#667 14:53:06,156 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'Gavin King' as column: Name1_0_ 14:53:06,171 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning null as column: preferre3_1_0_ 14:53:06,171 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - done processing result set (2 rows) 14:53:06,171 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDataReader, open IDataReaders :0 14:53:06,171 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:53:06,171 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - aggressively releasing database connection 14:53:06,171 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:53:06,171 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - total objects hydrated: 2 14:53:06,187 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - resolving associations for: [NHibernate.Test.Criteria.Student#1337] 14:53:06,187 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - creating collection wrapper:[NHibernate.Test.Criteria.Student.Enrolments#1337] 14:53:06,203 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - adding entity to second-level cache [NHibernate.Test.Criteria.Student#1337] 14:53:06,203 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Caching: NHibernate.Test.Criteria.Student, NHibernate.Test, Version=1.2.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4#1337 14:53:06,203 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - done materializing entity [NHibernate.Test.Criteria.Student#1337] 14:53:06,203 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - resolving associations for: [NHibernate.Test.Criteria.Student#667] 14:53:06,203 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - creating collection wrapper:[NHibernate.Test.Criteria.Student.Enrolments#667] 14:53:06,203 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - adding entity to second-level cache [NHibernate.Test.Criteria.Student#667] 14:53:06,203 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Caching: NHibernate.Test.Criteria.Student, NHibernate.Test, Version=1.2.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4#667 14:53:06,203 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - done materializing entity [NHibernate.Test.Criteria.Student#667] 14:53:06,218 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - initializing non-lazy collections 14:53:06,218 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - after autocommit 14:53:06,218 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - aggressively releasing database connection 14:53:06,234 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - transaction completion 14:53:06,234 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - initializing collection [NHibernate.Test.Criteria.Student.Enrolments#1337] 14:53:06,234 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - checking second-level cache 14:53:06,234 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Cache lookup: NHibernate.Test.Criteria.Student.Enrolments#1337 14:53:06,234 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Cache miss 14:53:06,234 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - collection not cached 14:53:06,265 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 8 for the SelectSqlBuilder that needed a capacity of: 12 for the table Enrolment enrolments0_ 14:53:06,265 [TestRunnerThread] DEBUG NHibernate.Loader.Collection.OneToManyLoader - Static select for one-to-many NHibernate.Test.Criteria.Student.Enrolments: SELECT enrolments0_.studentId as studentId__1_, enrolments0_.studentId as studentId1_, enrolments0_.CourseCode as CourseCode1_, enrolments0_.studentId as studentId2_0_, enrolments0_.CourseCode as CourseCode2_0_, enrolments0_.Semester as Semester2_0_, enrolments0_."Year" as Year4_2_0_ FROM Enrolment enrolments0_ WHERE enrolments0_.studentId in (select this_.studentId FROM Student this_ ORDER BY this_.studentId desc limit ?) 14:53:06,265 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:53:06,265 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: SELECT enrolments0_.studentId as studentId__1_, enrolments0_.studentId as studentId1_, enrolments0_.CourseCode as CourseCode1_, enrolments0_.studentId as studentId2_0_, enrolments0_.CourseCode as CourseCode2_0_, enrolments0_.Semester as Semester2_0_, enrolments0_."Year" as Year4_2_0_ FROM Enrolment enrolments0_ WHERE enrolments0_.studentId in (select this_.studentId FROM Student this_ ORDER BY this_.studentId desc limit ?) 14:53:06,281 [TestRunnerThread] INFO NHibernate.Loader.Loader - SELECT enrolments0_.studentId as studentId__1_, enrolments0_.studentId as studentId1_, enrolments0_.CourseCode as CourseCode1_, enrolments0_.studentId as studentId2_0_, enrolments0_.CourseCode as CourseCode2_0_, enrolments0_.Semester as Semester2_0_, enrolments0_."Year" as Year4_2_0_ FROM Enrolment enrolments0_ WHERE enrolments0_.studentId in (select this_.studentId FROM Student this_ ORDER BY this_.studentId desc limit :p0) 14:53:06,281 [TestRunnerThread] DEBUG NHibernate.SQL - SELECT enrolments0_.studentId as studentId__1_, enrolments0_.studentId as studentId1_, enrolments0_.CourseCode as CourseCode1_, enrolments0_.studentId as studentId2_0_, enrolments0_.CourseCode as CourseCode2_0_, enrolments0_.Semester as Semester2_0_, enrolments0_."Year" as Year4_2_0_ FROM Enrolment enrolments0_ WHERE enrolments0_.studentId in (select this_.studentId FROM Student this_ ORDER BY this_.studentId desc limit :p0) 14:53:06,281 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:53:06,281 [TestRunnerThread] DEBUG NHibernate.Util.ADOExceptionReporter - SQL Exception Npgsql.NpgsqlException: syntax error at or near ":" Severity: ERROR Code: 42601 à Npgsql.NpgsqlConnector.CheckErrors() à Npgsql.NpgsqlConnector.CheckErrorsAndNotifications() à Npgsql.NpgsqlCommand.ExecuteCommand() à Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) à Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) à System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader() à NHibernate.Impl.BatcherImpl.ExecuteReader(IDbCommand cmd) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Impl\BatcherImpl.cs:ligne 186 à NHibernate.Loader.Loader.GetResultSet(IDbCommand st, RowSelection selection, ISessionImplementor session) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Loader.cs:ligne 1391 14:53:06,375 [TestRunnerThread] WARN NHibernate.Util.ADOExceptionReporter - Npgsql.NpgsqlException: syntax error at or near ":" Severity: ERROR Code: 42601 à Npgsql.NpgsqlConnector.CheckErrors() à Npgsql.NpgsqlConnector.CheckErrorsAndNotifications() à Npgsql.NpgsqlCommand.ExecuteCommand() à Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) à Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) à System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader() à NHibernate.Impl.BatcherImpl.ExecuteReader(IDbCommand cmd) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Impl\BatcherImpl.cs:ligne 186 à NHibernate.Loader.Loader.GetResultSet(IDbCommand st, RowSelection selection, ISessionImplementor session) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Loader.cs:ligne 1391 14:53:06,375 [TestRunnerThread] ERROR NHibernate.Util.ADOExceptionReporter - ERROR: 42601: syntax error at or near ":" 14:53:06,375 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:53:06,375 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - aggressively releasing database connection 14:53:06,375 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:53:06,390 [TestRunnerThread] DEBUG NHibernate.Util.ADOExceptionReporter - could not load collection by subselect: [NHibernate.Test.Criteria.Student.Enrolments#System.Object[]] [ SELECT enrolments0_.studentId as studentId__1_, enrolments0_.studentId as studentId1_, enrolments0_.CourseCode as CourseCode1_, enrolments0_.studentId as studentId2_0_, enrolments0_.CourseCode as CourseCode2_0_, enrolments0_.Semester as Semester2_0_, enrolments0_."Year" as Year4_2_0_ FROM Enrolment enrolments0_ WHERE enrolments0_.studentId in (select this_.studentId FROM Student this_ ORDER BY this_.studentId desc limit ?) ] Npgsql.NpgsqlException: syntax error at or near ":" Severity: ERROR Code: 42601 à Npgsql.NpgsqlConnector.CheckErrors() à Npgsql.NpgsqlConnector.CheckErrorsAndNotifications() à Npgsql.NpgsqlCommand.ExecuteCommand() à Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) à Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) à System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader() à NHibernate.Impl.BatcherImpl.ExecuteReader(IDbCommand cmd) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Impl\BatcherImpl.cs:ligne 186 à NHibernate.Loader.Loader.GetResultSet(IDbCommand st, RowSelection selection, ISessionImplementor session) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Loader.cs:ligne 1405 à NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Loader.cs:ligne 415 à NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Loader.cs:ligne 181 à NHibernate.Loader.Loader.LoadCollectionSubselect(ISessionImplementor session, Object[] ids, Object[] parameterValues, IType[] parameterTypes, IDictionary namedParameters, IType type) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Loader.cs:ligne 1693 14:53:06,390 [TestRunnerThread] WARN NHibernate.Util.ADOExceptionReporter - Npgsql.NpgsqlException: syntax error at or near ":" Severity: ERROR Code: 42601 à Npgsql.NpgsqlConnector.CheckErrors() à Npgsql.NpgsqlConnector.CheckErrorsAndNotifications() à Npgsql.NpgsqlCommand.ExecuteCommand() à Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) à Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) à System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader() à NHibernate.Impl.BatcherImpl.ExecuteReader(IDbCommand cmd) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Impl\BatcherImpl.cs:ligne 186 à NHibernate.Loader.Loader.GetResultSet(IDbCommand st, RowSelection selection, ISessionImplementor session) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Loader.cs:ligne 1405 à NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Loader.cs:ligne 415 à NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Loader.cs:ligne 181 à NHibernate.Loader.Loader.LoadCollectionSubselect(ISessionImplementor session, Object[] ids, Object[] parameterValues, IType[] parameterTypes, IDictionary namedParameters, IType type) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Loader.cs:ligne 1693 14:53:06,390 [TestRunnerThread] ERROR NHibernate.Util.ADOExceptionReporter - ERROR: 42601: syntax error at or near ":" 14:53:06,390 [TestRunnerThread] ERROR NHibernate.Collection.AbstractPersistentCollection - Failed to lazily initialize a collection NHibernate.ADOException: could not load collection by subselect: [NHibernate.Test.Criteria.Student.Enrolments#System.Object[]] [ SELECT enrolments0_.studentId as studentId__1_, enrolments0_.studentId as studentId1_, enrolments0_.CourseCode as CourseCode1_, enrolments0_.studentId as studentId2_0_, enrolments0_.CourseCode as CourseCode2_0_, enrolments0_.Semester as Semester2_0_, enrolments0_."Year" as Year4_2_0_ FROM Enrolment enrolments0_ WHERE enrolments0_.studentId in (select this_.studentId FROM Student this_ ORDER BY this_.studentId desc limit ?) ] [SQL: SELECT enrolments0_.studentId as studentId__1_, enrolments0_.studentId as studentId1_, enrolments0_.CourseCode as CourseCode1_, enrolments0_.studentId as studentId2_0_, enrolments0_.CourseCode as CourseCode2_0_, enrolments0_.Semester as Semester2_0_, enrolments0_."Year" as Year4_2_0_ FROM Enrolment enrolments0_ WHERE enrolments0_.studentId in (select this_.studentId FROM Student this_ ORDER BY this_.studentId desc limit ?)] ---> Npgsql.NpgsqlException: syntax error at or near ":" Severity: ERROR Code: 42601 à Npgsql.NpgsqlConnector.CheckErrors() à Npgsql.NpgsqlConnector.CheckErrorsAndNotifications() à Npgsql.NpgsqlCommand.ExecuteCommand() à Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) à Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) à System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader() à NHibernate.Impl.BatcherImpl.ExecuteReader(IDbCommand cmd) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Impl\BatcherImpl.cs:ligne 186 à NHibernate.Loader.Loader.GetResultSet(IDbCommand st, RowSelection selection, ISessionImplementor session) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Loader.cs:ligne 1405 à NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Loader.cs:ligne 415 à NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Loader.cs:ligne 181 à NHibernate.Loader.Loader.LoadCollectionSubselect(ISessionImplementor session, Object[] ids, Object[] parameterValues, IType[] parameterTypes, IDictionary namedParameters, IType type) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Loader.cs:ligne 1693 --- Fin de la trace de la pile d'exception interne --- à NHibernate.Loader.Loader.LoadCollectionSubselect(ISessionImplementor session, Object[] ids, Object[] parameterValues, IType[] parameterTypes, IDictionary namedParameters, IType type) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Loader.cs:ligne 1706 à NHibernate.Loader.Collection.SubselectOneToManyLoader.Initialize(Object id, ISessionImplementor session) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Collection\SubselectOneToManyLoader.cs:ligne 46 à NHibernate.Persister.Collection.AbstractCollectionPersister.Initialize(Object key, ISessionImplementor session) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Persister\Collection\AbstractCollectionPersister.cs:ligne 419 à NHibernate.Impl.SessionImpl.InitializeCollection(IPersistentCollection collection, Boolean writing) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Impl\SessionImpl.cs:ligne 4494 à NHibernate.Collection.AbstractPersistentCollection.Initialize(Boolean writing) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Collection\AbstractPersistentCollection.cs:ligne 251 14:53:06,390 [TestRunnerThread] ERROR NHibernate.LazyInitializationException - Failed to lazily initialize a collection NHibernate.LazyInitializationException: Failed to lazily initialize a collection ---> NHibernate.ADOException: could not load collection by subselect: [NHibernate.Test.Criteria.Student.Enrolments#System.Object[]] [ SELECT enrolments0_.studentId as studentId__1_, enrolments0_.studentId as studentId1_, enrolments0_.CourseCode as CourseCode1_, enrolments0_.studentId as studentId2_0_, enrolments0_.CourseCode as CourseCode2_0_, enrolments0_.Semester as Semester2_0_, enrolments0_."Year" as Year4_2_0_ FROM Enrolment enrolments0_ WHERE enrolments0_.studentId in (select this_.studentId FROM Student this_ ORDER BY this_.studentId desc limit ?) ] [SQL: SELECT enrolments0_.studentId as studentId__1_, enrolments0_.studentId as studentId1_, enrolments0_.CourseCode as CourseCode1_, enrolments0_.studentId as studentId2_0_, enrolments0_.CourseCode as CourseCode2_0_, enrolments0_.Semester as Semester2_0_, enrolments0_."Year" as Year4_2_0_ FROM Enrolment enrolments0_ WHERE enrolments0_.studentId in (select this_.studentId FROM Student this_ ORDER BY this_.studentId desc limit ?)] ---> Npgsql.NpgsqlException: syntax error at or near ":" Severity: ERROR Code: 42601 à Npgsql.NpgsqlConnector.CheckErrors() à Npgsql.NpgsqlConnector.CheckErrorsAndNotifications() à Npgsql.NpgsqlCommand.ExecuteCommand() à Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior cb) à Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) à System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader() à NHibernate.Impl.BatcherImpl.ExecuteReader(IDbCommand cmd) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Impl\BatcherImpl.cs:ligne 186 à NHibernate.Loader.Loader.GetResultSet(IDbCommand st, RowSelection selection, ISessionImplementor session) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Loader.cs:ligne 1405 à NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Loader.cs:ligne 415 à NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Loader.cs:ligne 181 à NHibernate.Loader.Loader.LoadCollectionSubselect(ISessionImplementor session, Object[] ids, Object[] parameterValues, IType[] parameterTypes, IDictionary namedParameters, IType type) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Loader.cs:ligne 1693 --- Fin de la trace de la pile d'exception interne --- à NHibernate.Loader.Loader.LoadCollectionSubselect(ISessionImplementor session, Object[] ids, Object[] parameterValues, IType[] parameterTypes, IDictionary namedParameters, IType type) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Loader.cs:ligne 1706 à NHibernate.Loader.Collection.SubselectOneToManyLoader.Initialize(Object id, ISessionImplementor session) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Collection\SubselectOneToManyLoader.cs:ligne 46 à NHibernate.Persister.Collection.AbstractCollectionPersister.Initialize(Object key, ISessionImplementor session) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Persister\Collection\AbstractCollectionPersister.cs:ligne 419 à NHibernate.Impl.SessionImpl.InitializeCollection(IPersistentCollection collection, Boolean writing) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Impl\SessionImpl.cs:ligne 4494 à NHibernate.Collection.AbstractPersistentCollection.Initialize(Boolean writing) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Collection\AbstractPersistentCollection.cs:ligne 251 --- Fin de la trace de la pile d'exception interne --- 14:53:06,406 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - running ISession.Dispose() 14:53:06,406 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - closing session 14:53:06,406 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - running BatcherImpl.Dispose(true) 14:53:06,406 [TestRunnerThread] DEBUG NHibernate.Transaction.AdoTransaction - running AdoTransaction.Dispose() 14:53:06,421 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - opened session 14:53:06,437 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - find: from System.Object o 14:53:06,437 [TestRunnerThread] DEBUG NHibernate.Engine.QueryParameters - named parameters: {} 14:53:06,468 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - compiling query 14:53:06,531 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - compiling query 14:53:06,546 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - compiling query 14:53:06,546 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - compiling query 14:53:06,546 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - compiling query 14:53:06,546 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - compiling query 14:53:06,546 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - flushing session 14:53:06,562 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Flushing entities and processing referenced collections 14:53:06,562 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Processing unreferenced collections 14:53:06,562 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - scheduling collection removes/(re)creates/updates 14:53:06,562 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Flushed: 0 insertions, 0 updates, 0 deletions to 0 objects 14:53:06,562 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections 14:53:06,562 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - dont need to execute flush 14:53:06,562 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - HQL: from NHibernate.Test.Criteria.Enrolment o 14:53:06,562 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - SQL: select enrolment0_.studentId as studentId2_, enrolment0_.CourseCode as CourseCode2_, enrolment0_.Semester as Semester2_, enrolment0_."Year" as Year4_2_ from Enrolment enrolment0_ 14:53:06,562 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:53:06,578 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: select enrolment0_.studentId as studentId2_, enrolment0_.CourseCode as CourseCode2_, enrolment0_.Semester as Semester2_, enrolment0_."Year" as Year4_2_ from Enrolment enrolment0_ 14:53:06,578 [TestRunnerThread] INFO NHibernate.Loader.Loader - select enrolment0_.studentId as studentId2_, enrolment0_.CourseCode as CourseCode2_, enrolment0_.Semester as Semester2_, enrolment0_."Year" as Year4_2_ from Enrolment enrolment0_ 14:53:06,578 [TestRunnerThread] DEBUG NHibernate.SQL - select enrolment0_.studentId as studentId2_, enrolment0_.CourseCode as CourseCode2_, enrolment0_.Semester as Semester2_, enrolment0_."Year" as Year4_2_ from Enrolment enrolment0_ 14:53:06,578 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:53:06,578 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened IDataReader, open IDataReaders: 1 14:53:06,578 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - processing result set 14:53:06,593 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result set row: 0 14:53:06,593 [TestRunnerThread] DEBUG NHibernate.Type.Int64Type - returning '101' as column: studentId2_ 14:53:06,593 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'HIB' as column: CourseCode2_ 14:53:06,593 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result row: NHibernate.Test.Criteria.Enrolment 14:53:06,593 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Initializing object from DataReader: [NHibernate.Test.Criteria.Enrolment#NHibernate.Test.Criteria.Enrolment] 14:53:06,593 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Hydrating entity: NHibernate.Test.Criteria.Enrolment#NHibernate.Test.Criteria.Enrolment 14:53:06,593 [TestRunnerThread] DEBUG NHibernate.Type.Int64Type - returning '101' as column: studentId2_ 14:53:06,593 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'HIB' as column: CourseCode2_ 14:53:06,609 [TestRunnerThread] DEBUG NHibernate.Type.Int16Type - returning '1' as column: Semester2_ 14:53:06,609 [TestRunnerThread] DEBUG NHibernate.Type.Int16Type - returning '1999' as column: Year4_2_ 14:53:06,609 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result set row: 1 14:53:06,609 [TestRunnerThread] DEBUG NHibernate.Type.Int64Type - returning '1337' as column: studentId2_ 14:53:06,609 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'HIB' as column: CourseCode2_ 14:53:06,625 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result row: NHibernate.Test.Criteria.Enrolment 14:53:06,625 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Initializing object from DataReader: [NHibernate.Test.Criteria.Enrolment#NHibernate.Test.Criteria.Enrolment] 14:53:06,625 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Hydrating entity: NHibernate.Test.Criteria.Enrolment#NHibernate.Test.Criteria.Enrolment 14:53:06,625 [TestRunnerThread] DEBUG NHibernate.Type.Int64Type - returning '1337' as column: studentId2_ 14:53:06,625 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'HIB' as column: CourseCode2_ 14:53:06,625 [TestRunnerThread] DEBUG NHibernate.Type.Int16Type - returning '3' as column: Semester2_ 14:53:06,625 [TestRunnerThread] DEBUG NHibernate.Type.Int16Type - returning '1998' as column: Year4_2_ 14:53:06,625 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - done processing result set (2 rows) 14:53:06,625 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDataReader, open IDataReaders :0 14:53:06,625 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:53:06,625 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - aggressively releasing database connection 14:53:06,640 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:53:06,640 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - total objects hydrated: 2 14:53:06,656 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - resolving associations for: [NHibernate.Test.Criteria.Enrolment#NHibernate.Test.Criteria.Enrolment] 14:53:06,656 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - loading [Student#101] 14:53:06,921 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - loading [Course#HIB] 14:53:06,937 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - adding entity to second-level cache [NHibernate.Test.Criteria.Enrolment#NHibernate.Test.Criteria.Enrolment] 14:53:06,953 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Caching: NHibernate.Test.Criteria.Enrolment, NHibernate.Test, Version=1.2.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4#Enrolment{CourseCode=HIB, StudentNumber=101} 14:53:06,953 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - done materializing entity [NHibernate.Test.Criteria.Enrolment#NHibernate.Test.Criteria.Enrolment] 14:53:06,953 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - resolving associations for: [NHibernate.Test.Criteria.Enrolment#NHibernate.Test.Criteria.Enrolment] 14:53:06,953 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - loading [Student#1337] 14:53:06,953 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - loading [Course#HIB] 14:53:06,953 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - adding entity to second-level cache [NHibernate.Test.Criteria.Enrolment#NHibernate.Test.Criteria.Enrolment] 14:53:06,968 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Caching: NHibernate.Test.Criteria.Enrolment, NHibernate.Test, Version=1.2.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4#Enrolment{CourseCode=HIB, StudentNumber=1337} 14:53:06,968 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - done materializing entity [NHibernate.Test.Criteria.Enrolment#NHibernate.Test.Criteria.Enrolment] 14:53:06,968 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - initializing non-lazy collections 14:53:06,968 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - HQL: from NHibernate.Test.Criteria.Animal o 14:53:06,968 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - SQL: select animal0_.id as id3_, animal0_.description as descript2_3_, animal0_.body_weight as body3_3_, animal0_.mother_id as mother4_3_, animal0_.father_id as father5_3_, animal0_.serialNumber as serialNu6_3_, animal0_1_.bodyTemperature as bodyTemp2_4_, case when animal0_2_.reptile is not null then 2 when animal0_1_.animal is not null then 1 when animal0_.id is not null then 0 end as clazz_ from Animal animal0_ left outer join Reptile animal0_1_ on animal0_.id=animal0_1_.animal left outer join Lizard animal0_2_ on animal0_.id=animal0_2_.reptile 14:53:06,968 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:53:06,968 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: select animal0_.id as id3_, animal0_.description as descript2_3_, animal0_.body_weight as body3_3_, animal0_.mother_id as mother4_3_, animal0_.father_id as father5_3_, animal0_.serialNumber as serialNu6_3_, animal0_1_.bodyTemperature as bodyTemp2_4_, case when animal0_2_.reptile is not null then 2 when animal0_1_.animal is not null then 1 when animal0_.id is not null then 0 end as clazz_ from Animal animal0_ left outer join Reptile animal0_1_ on animal0_.id=animal0_1_.animal left outer join Lizard animal0_2_ on animal0_.id=animal0_2_.reptile 14:53:06,968 [TestRunnerThread] INFO NHibernate.Loader.Loader - select animal0_.id as id3_, animal0_.description as descript2_3_, animal0_.body_weight as body3_3_, animal0_.mother_id as mother4_3_, animal0_.father_id as father5_3_, animal0_.serialNumber as serialNu6_3_, animal0_1_.bodyTemperature as bodyTemp2_4_, case when animal0_2_.reptile is not null then 2 when animal0_1_.animal is not null then 1 when animal0_.id is not null then 0 end as clazz_ from Animal animal0_ left outer join Reptile animal0_1_ on animal0_.id=animal0_1_.animal left outer join Lizard animal0_2_ on animal0_.id=animal0_2_.reptile 14:53:06,968 [TestRunnerThread] DEBUG NHibernate.SQL - select animal0_.id as id3_, animal0_.description as descript2_3_, animal0_.body_weight as body3_3_, animal0_.mother_id as mother4_3_, animal0_.father_id as father5_3_, animal0_.serialNumber as serialNu6_3_, animal0_1_.bodyTemperature as bodyTemp2_4_, case when animal0_2_.reptile is not null then 2 when animal0_1_.animal is not null then 1 when animal0_.id is not null then 0 end as clazz_ from Animal animal0_ left outer join Reptile animal0_1_ on animal0_.id=animal0_1_.animal left outer join Lizard animal0_2_ on animal0_.id=animal0_2_.reptile 14:53:06,968 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:53:07,000 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened IDataReader, open IDataReaders: 1 14:53:07,000 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - processing result set 14:53:07,000 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - done processing result set (0 rows) 14:53:07,000 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDataReader, open IDataReaders :0 14:53:07,000 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:53:07,000 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - aggressively releasing database connection 14:53:07,000 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:53:07,015 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - total objects hydrated: 0 14:53:07,015 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - initializing non-lazy collections 14:53:07,015 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - HQL: from NHibernate.Test.Criteria.MaterialUnit o 14:53:07,015 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - SQL: select materialun0_.Id as Id7_, materialun0_.materialId as materialId7_, materialun0_.SerialNumber as SerialNu3_7_ from MaterialUnits materialun0_ 14:53:07,015 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:53:07,015 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: select materialun0_.Id as Id7_, materialun0_.materialId as materialId7_, materialun0_.SerialNumber as SerialNu3_7_ from MaterialUnits materialun0_ 14:53:07,015 [TestRunnerThread] INFO NHibernate.Loader.Loader - select materialun0_.Id as Id7_, materialun0_.materialId as materialId7_, materialun0_.SerialNumber as SerialNu3_7_ from MaterialUnits materialun0_ 14:53:07,015 [TestRunnerThread] DEBUG NHibernate.SQL - select materialun0_.Id as Id7_, materialun0_.materialId as materialId7_, materialun0_.SerialNumber as SerialNu3_7_ from MaterialUnits materialun0_ 14:53:07,015 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:53:07,031 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened IDataReader, open IDataReaders: 1 14:53:07,031 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - processing result set 14:53:07,031 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - done processing result set (0 rows) 14:53:07,031 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDataReader, open IDataReaders :0 14:53:07,031 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:53:07,031 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - aggressively releasing database connection 14:53:07,031 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:53:07,046 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - total objects hydrated: 0 14:53:07,046 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - initializing non-lazy collections 14:53:07,046 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - HQL: from NHibernate.Test.Criteria.Course o 14:53:07,046 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - SQL: select course0_.CourseCode as CourseCode0_, course0_.Description as Descript2_0_ from Course course0_ 14:53:07,046 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:53:07,046 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: select course0_.CourseCode as CourseCode0_, course0_.Description as Descript2_0_ from Course course0_ 14:53:07,046 [TestRunnerThread] INFO NHibernate.Loader.Loader - select course0_.CourseCode as CourseCode0_, course0_.Description as Descript2_0_ from Course course0_ 14:53:07,046 [TestRunnerThread] DEBUG NHibernate.SQL - select course0_.CourseCode as CourseCode0_, course0_.Description as Descript2_0_ from Course course0_ 14:53:07,046 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:53:07,046 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened IDataReader, open IDataReaders: 1 14:53:07,062 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - processing result set 14:53:07,062 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result set row: 0 14:53:07,062 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'HIB' as column: CourseCode0_ 14:53:07,062 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result row: HIB 14:53:07,062 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Initializing object from DataReader: [NHibernate.Test.Criteria.Course#HIB] 14:53:07,062 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Hydrating entity: NHibernate.Test.Criteria.Course#HIB 14:53:07,062 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'Hibernate Training' as column: Descript2_0_ 14:53:07,062 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - done processing result set (1 rows) 14:53:07,062 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDataReader, open IDataReaders :0 14:53:07,062 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:53:07,062 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - aggressively releasing database connection 14:53:07,078 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:53:07,078 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - total objects hydrated: 1 14:53:07,078 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - resolving associations for: [NHibernate.Test.Criteria.Course#HIB] 14:53:07,093 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - adding entity to second-level cache [NHibernate.Test.Criteria.Course#HIB] 14:53:07,093 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Caching: NHibernate.Test.Criteria.Course, NHibernate.Test, Version=1.2.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4#HIB 14:53:07,093 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - done materializing entity [NHibernate.Test.Criteria.Course#HIB] 14:53:07,093 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - initializing non-lazy collections 14:53:07,093 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - HQL: from NHibernate.Test.Criteria.MaterialResource o 14:53:07,093 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - SQL: select materialre0_.Id as Id6_, materialre0_.Description as Descript3_6_, materialre0_.materialType as material2_ from MaterialResources materialre0_ 14:53:07,109 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:53:07,109 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: select materialre0_.Id as Id6_, materialre0_.Description as Descript3_6_, materialre0_.materialType as material2_ from MaterialResources materialre0_ 14:53:07,109 [TestRunnerThread] INFO NHibernate.Loader.Loader - select materialre0_.Id as Id6_, materialre0_.Description as Descript3_6_, materialre0_.materialType as material2_ from MaterialResources materialre0_ 14:53:07,109 [TestRunnerThread] DEBUG NHibernate.SQL - select materialre0_.Id as Id6_, materialre0_.Description as Descript3_6_, materialre0_.materialType as material2_ from MaterialResources materialre0_ 14:53:07,109 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:53:07,109 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened IDataReader, open IDataReaders: 1 14:53:07,109 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - processing result set 14:53:07,109 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - done processing result set (0 rows) 14:53:07,109 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDataReader, open IDataReaders :0 14:53:07,125 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:53:07,125 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - aggressively releasing database connection 14:53:07,125 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:53:07,125 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - total objects hydrated: 0 14:53:07,125 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - initializing non-lazy collections 14:53:07,125 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - HQL: from NHibernate.Test.Criteria.Student o 14:53:07,125 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - SQL: select student0_.studentId as studentId1_, student0_.Name as Name1_, student0_.preferredCourseCode as preferre3_1_ from Student student0_ 14:53:07,125 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:53:07,125 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: select student0_.studentId as studentId1_, student0_.Name as Name1_, student0_.preferredCourseCode as preferre3_1_ from Student student0_ 14:53:07,125 [TestRunnerThread] INFO NHibernate.Loader.Loader - select student0_.studentId as studentId1_, student0_.Name as Name1_, student0_.preferredCourseCode as preferre3_1_ from Student student0_ 14:53:07,140 [TestRunnerThread] DEBUG NHibernate.SQL - select student0_.studentId as studentId1_, student0_.Name as Name1_, student0_.preferredCourseCode as preferre3_1_ from Student student0_ 14:53:07,140 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:53:07,140 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened IDataReader, open IDataReaders: 1 14:53:07,140 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - processing result set 14:53:07,140 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result set row: 0 14:53:07,140 [TestRunnerThread] DEBUG NHibernate.Type.Int64Type - returning '667' as column: studentId1_ 14:53:07,140 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result row: 667 14:53:07,140 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Initializing object from DataReader: [NHibernate.Test.Criteria.Student#667] 14:53:07,140 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Hydrating entity: NHibernate.Test.Criteria.Student#667 14:53:07,156 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'Gavin King' as column: Name1_ 14:53:07,156 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning null as column: preferre3_1_ 14:53:07,156 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result set row: 1 14:53:07,156 [TestRunnerThread] DEBUG NHibernate.Type.Int64Type - returning '1337' as column: studentId1_ 14:53:07,156 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result row: 1337 14:53:07,156 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Initializing object from DataReader: [NHibernate.Test.Criteria.Student#1337] 14:53:07,156 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Hydrating entity: NHibernate.Test.Criteria.Student#1337 14:53:07,156 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'Ayende Rahien' as column: Name1_ 14:53:07,156 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning null as column: preferre3_1_ 14:53:07,156 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result set row: 2 14:53:07,156 [TestRunnerThread] DEBUG NHibernate.Type.Int64Type - returning '101' as column: studentId1_ 14:53:07,171 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result row: 101 14:53:07,171 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Initializing object from DataReader: [NHibernate.Test.Criteria.Student#101] 14:53:07,171 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Hydrating entity: NHibernate.Test.Criteria.Student#101 14:53:07,171 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'Max Rydahl Andersen' as column: Name1_ 14:53:07,171 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning null as column: preferre3_1_ 14:53:07,171 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - done processing result set (3 rows) 14:53:07,171 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDataReader, open IDataReaders :0 14:53:07,171 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:53:07,171 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - aggressively releasing database connection 14:53:07,187 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:53:07,187 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - total objects hydrated: 3 14:53:07,187 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - resolving associations for: [NHibernate.Test.Criteria.Student#667] 14:53:07,187 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - creating collection wrapper:[NHibernate.Test.Criteria.Student.Enrolments#667] 14:53:07,187 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - adding entity to second-level cache [NHibernate.Test.Criteria.Student#667] 14:53:07,187 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Caching: NHibernate.Test.Criteria.Student, NHibernate.Test, Version=1.2.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4#667 14:53:07,187 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - done materializing entity [NHibernate.Test.Criteria.Student#667] 14:53:07,187 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - resolving associations for: [NHibernate.Test.Criteria.Student#1337] 14:53:07,187 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - creating collection wrapper:[NHibernate.Test.Criteria.Student.Enrolments#1337] 14:53:07,187 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - adding entity to second-level cache [NHibernate.Test.Criteria.Student#1337] 14:53:07,203 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Caching: NHibernate.Test.Criteria.Student, NHibernate.Test, Version=1.2.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4#1337 14:53:07,203 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - done materializing entity [NHibernate.Test.Criteria.Student#1337] 14:53:07,203 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - resolving associations for: [NHibernate.Test.Criteria.Student#101] 14:53:07,203 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - creating collection wrapper:[NHibernate.Test.Criteria.Student.Enrolments#101] 14:53:07,203 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - adding entity to second-level cache [NHibernate.Test.Criteria.Student#101] 14:53:07,203 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Caching: NHibernate.Test.Criteria.Student, NHibernate.Test, Version=1.2.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4#101 14:53:07,203 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - done materializing entity [NHibernate.Test.Criteria.Student#101] 14:53:07,203 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - initializing non-lazy collections 14:53:07,203 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - after autocommit 14:53:07,203 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - aggressively releasing database connection 14:53:07,203 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - transaction completion 14:53:07,218 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - running ISession.Dispose() 14:53:07,218 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - closing session 14:53:07,218 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - running BatcherImpl.Dispose(true) 14:53:07,218 [TestRunnerThread] ERROR NHibernate.Test.TestCase - Test case didn't clean up the database after itself, re-creating the schema 14:53:07,218 [TestRunnerThread] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.PostgreSQLDialect 14:53:07,218 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - checking mappings queue 14:53:07,218 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-many association mappings 14:53:07,218 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-one association property references 14:53:07,218 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing foreign key constraints 14:53:07,218 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: MaterialUnitable 14:53:07,218 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:07,218 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:07,218 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Course 14:53:07,234 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Student 14:53:07,234 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:07,234 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Course 14:53:07,234 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Reptile 14:53:07,234 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - checking mappings queue 14:53:07,234 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-many association mappings 14:53:07,234 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-one association property references 14:53:07,234 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing foreign key constraints 14:53:07,234 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: MaterialUnitable 14:53:07,234 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:07,234 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:07,234 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Course 14:53:07,250 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Student 14:53:07,250 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:07,250 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Course 14:53:07,250 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Reptile 14:53:07,250 [TestRunnerThread] INFO NHibernate.Connection.ConnectionProviderFactory - Initializing connection provider: NHibernate.Test.DebugConnectionProvider, NHibernate.Test 14:53:07,250 [TestRunnerThread] INFO NHibernate.Connection.ConnectionProvider - Configuring ConnectionProvider 14:53:07,250 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:53:07,281 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:53:07,281 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Disposing of ConnectionProvider. 14:53:07,281 [TestRunnerThread] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.PostgreSQLDialect 14:53:07,281 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - checking mappings queue 14:53:07,281 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-many association mappings 14:53:07,296 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-one association property references 14:53:07,296 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing foreign key constraints 14:53:07,296 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: MaterialUnitable 14:53:07,296 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:07,296 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:07,296 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Course 14:53:07,296 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Student 14:53:07,296 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:07,296 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Course 14:53:07,296 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Reptile 14:53:07,296 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - checking mappings queue 14:53:07,296 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-many association mappings 14:53:07,296 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-one association property references 14:53:07,296 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing foreign key constraints 14:53:07,296 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: MaterialUnitable 14:53:07,312 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:07,312 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:07,312 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Course 14:53:07,312 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Student 14:53:07,312 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:07,312 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Course 14:53:07,312 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Reptile 14:53:07,312 [TestRunnerThread] INFO NHibernate.Connection.ConnectionProviderFactory - Initializing connection provider: NHibernate.Test.DebugConnectionProvider, NHibernate.Test 14:53:07,312 [TestRunnerThread] INFO NHibernate.Connection.ConnectionProvider - Configuring ConnectionProvider 14:53:07,312 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:53:07,406 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:53:07,406 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Disposing of ConnectionProvider. 14:53:07,406 [TestRunnerThread] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.PostgreSQLDialect 14:53:07,406 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - checking mappings queue 14:53:07,421 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-many association mappings 14:53:07,421 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-one association property references 14:53:07,421 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing foreign key constraints 14:53:07,421 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: MaterialUnitable 14:53:07,421 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:07,421 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:07,421 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Course 14:53:07,421 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Student 14:53:07,421 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:07,421 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Course 14:53:07,421 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Reptile 14:53:07,421 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - checking mappings queue 14:53:07,421 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-many association mappings 14:53:07,421 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-one association property references 14:53:07,437 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing foreign key constraints 14:53:07,437 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: MaterialUnitable 14:53:07,437 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:07,437 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:07,437 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Course 14:53:07,437 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Student 14:53:07,437 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Animal 14:53:07,437 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Course 14:53:07,437 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Reptile 14:53:07,437 [TestRunnerThread] INFO NHibernate.Connection.ConnectionProviderFactory - Initializing connection provider: NHibernate.Test.DebugConnectionProvider, NHibernate.Test 14:53:07,437 [TestRunnerThread] INFO NHibernate.Connection.ConnectionProvider - Configuring ConnectionProvider 14:53:07,437 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:53:07,468 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:53:07,484 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Disposing of ConnectionProvider. 14:53:07,484 [TestRunnerThread] INFO NHibernate.Impl.SessionFactoryImpl - Closing 14:53:07,484 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Disposing of ConnectionProvider.