Fail during evaluation of 'p.MoreChildren.Count': [Test] public void SubselectFetchWithLimit() { ISession s = OpenSession(); ITransaction t = s.BeginTransaction(); Parent p = new Parent("foo"); p.Children.Add(new Child("foo1")); p.Children.Add(new Child("foo2")); Parent q = new Parent("bar"); q.Children.Add(new Child("bar1")); q.Children.Add(new Child("bar2")); Parent r = new Parent("aaa"); r.Children.Add(new Child("aaa1")); s.Save(p); s.Save(q); s.Save(r); t.Commit(); s.Close(); s = OpenSession(); t = s.BeginTransaction(); // TODO H3 //sessions.Statistics.Clear(); IList parents = s.CreateQuery("from Parent order by name desc") .SetMaxResults(2) .List(); p = (Parent) parents[0]; q = (Parent) parents[1]; Assert.IsFalse(NHibernateUtil.IsInitialized(p.Children)); Assert.IsFalse(NHibernateUtil.IsInitialized(p.MoreChildren)); Assert.IsFalse(NHibernateUtil.IsInitialized(q.Children)); Assert.IsFalse(NHibernateUtil.IsInitialized(q.MoreChildren)); X Assert.AreEqual(p.MoreChildren.Count, 0); Assert.AreEqual(p.Children.Count, 2); Assert.IsTrue(NHibernateUtil.IsInitialized(q.Children)); Assert.IsTrue(NHibernateUtil.IsInitialized(q.MoreChildren)); // TODO H3 //Assert.AreEqual(3, sessions.Statistics.getPrepareStatementCount()); r = (Parent) s.Get(typeof(Parent), r.Name); Assert.IsFalse(NHibernateUtil.IsInitialized(r.Children)); Assert.IsFalse(NHibernateUtil.IsInitialized(r.MoreChildren)); Assert.AreEqual(r.Children.Count, 1); Assert.AreEqual(r.MoreChildren.Count, 0); s.Delete(p); s.Delete(q); s.Delete(r); t.Commit(); s.Close(); } 14:43:41,015 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - Mapping resource: NHibernate.Test.SubselectFetchTest.ParentChild.hbm.xml 14:43:41,609 [TestRunnerThread] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.PostgreSQLDialect 14:43:41,656 [TestRunnerThread] INFO NHibernate.Cfg.HbmBinder - Mapping class: NHibernate.Test.SubselectFetchTest.Child -> Child 14:43:41,687 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: Name -> Name, type: String 14:43:41,718 [TestRunnerThread] INFO NHibernate.Cfg.HbmBinder - Mapping collection: NHibernate.Test.SubselectFetchTest.Child.Friends -> ChildChild 14:43:41,734 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: Friends, type: ICollection 14:43:41,734 [TestRunnerThread] INFO NHibernate.Cfg.HbmBinder - Mapping class: NHibernate.Test.SubselectFetchTest.Parent -> Parent 14:43:41,734 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: Name -> Name, type: String 14:43:41,734 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: Children, type: IList 14:43:41,734 [TestRunnerThread] INFO NHibernate.Cfg.HbmBinder - Mapping collection: NHibernate.Test.SubselectFetchTest.Parent.MoreChildren -> ParentChild 14:43:41,734 [TestRunnerThread] DEBUG NHibernate.Cfg.HbmBinder - Mapped property: MoreChildren, type: IList 14:43:41,750 [TestRunnerThread] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.PostgreSQLDialect 14:43:41,750 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - checking mappings queue 14:43:41,750 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-many association mappings 14:43:41,750 [TestRunnerThread] DEBUG NHibernate.Cfg.CollectionSecondPass - Second pass for collection: NHibernate.Test.SubselectFetchTest.Child.Friends 14:43:41,781 [TestRunnerThread] DEBUG NHibernate.Cfg.CollectionSecondPass - Mapped collection key: childName1, element: childName2, type: Child 14:43:41,781 [TestRunnerThread] DEBUG NHibernate.Cfg.CollectionSecondPass - Second pass for collection: NHibernate.Test.SubselectFetchTest.Parent.Children 14:43:41,781 [TestRunnerThread] INFO NHibernate.Cfg.HbmBinder - mapping collection: NHibernate.Test.SubselectFetchTest.Parent.Children -> Child 14:43:41,781 [TestRunnerThread] DEBUG NHibernate.Cfg.CollectionSecondPass - Mapped collection key: parentName, index: loc, one-to-many: Child 14:43:41,781 [TestRunnerThread] DEBUG NHibernate.Cfg.CollectionSecondPass - Second pass for collection: NHibernate.Test.SubselectFetchTest.Parent.MoreChildren 14:43:41,781 [TestRunnerThread] DEBUG NHibernate.Cfg.CollectionSecondPass - Mapped collection key: parentName, index: loc, element: childName, type: Child 14:43:41,781 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-one association property references 14:43:41,781 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing foreign key constraints 14:43:41,796 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Parent 14:43:41,796 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Parent 14:43:41,796 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:41,796 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:41,796 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:41,828 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - checking mappings queue 14:43:41,828 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-many association mappings 14:43:41,828 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-one association property references 14:43:41,828 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing foreign key constraints 14:43:41,828 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Parent 14:43:41,828 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Parent 14:43:41,828 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:41,828 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:41,828 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:41,843 [TestRunnerThread] INFO NHibernate.Connection.ConnectionProviderFactory - Initializing connection provider: NHibernate.Test.DebugConnectionProvider, NHibernate.Test 14:43:41,843 [TestRunnerThread] INFO NHibernate.Connection.ConnectionProvider - Configuring ConnectionProvider 14:43:41,875 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:43:42,312 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:43:42,312 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Disposing of ConnectionProvider. 14:43:42,312 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - checking mappings queue 14:43:42,328 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-many association mappings 14:43:42,328 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-one association property references 14:43:42,328 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing foreign key constraints 14:43:42,328 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Parent 14:43:42,328 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Parent 14:43:42,328 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:42,328 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:42,343 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:42,359 [TestRunnerThread] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.PostgreSQLDialect 14:43:42,359 [TestRunnerThread] INFO NHibernate.Connection.ConnectionProviderFactory - Initializing connection provider: NHibernate.Test.DebugConnectionProvider, NHibernate.Test 14:43:42,359 [TestRunnerThread] INFO NHibernate.Connection.ConnectionProvider - Configuring ConnectionProvider 14:43:42,359 [TestRunnerThread] INFO NHibernate.Cfg.SettingsFactory - Transaction factory: NHibernate.Transaction.AdoNetTransactionFactory 14:43:42,359 [TestRunnerThread] INFO NHibernate.Cfg.SettingsFactory - Optimize cache for minimal puts: False 14:43:42,359 [TestRunnerThread] INFO NHibernate.Cfg.SettingsFactory - Connection release mode: auto 14:43:42,359 [TestRunnerThread] INFO NHibernate.Cfg.SettingsFactory - Query translator: NHibernate.Hql.Classic.ClassicQueryTranslatorFactory 14:43:42,359 [TestRunnerThread] INFO NHibernate.Cfg.SettingsFactory - Query language substitutions: {} 14:43:42,359 [TestRunnerThread] INFO NHibernate.Cfg.SettingsFactory - cache provider: NHibernate.Cache.HashtableCacheProvider, NHibernate 14:43:42,375 [TestRunnerThread] INFO NHibernate.Cfg.SettingsFactory - query cache factory: NHibernate.Cache.StandardQueryCacheFactory 14:43:42,375 [TestRunnerThread] INFO NHibernate.Cfg.SettingsFactory - Using Isolation Level: ReadCommitted 14:43:42,375 [TestRunnerThread] INFO NHibernate.Impl.SessionFactoryImpl - building session factory 14:43:42,390 [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:43:42,390 [TestRunnerThread] DEBUG NHibernate.Cache.CacheFactory - cache for: NHibernate.Test.SubselectFetchTest.Parent usage strategy: nonstrict-read-write 14:43:42,500 [TestRunnerThread] DEBUG NHibernate.Cache.CacheFactory - cache for: NHibernate.Test.SubselectFetchTest.Child usage strategy: nonstrict-read-write 14:43:42,515 [TestRunnerThread] DEBUG NHibernate.Cache.CacheFactory - cache for: NHibernate.Test.SubselectFetchTest.Parent.MoreChildren usage strategy: nonstrict-read-write 14:43:42,578 [TestRunnerThread] DEBUG NHibernate.Cache.CacheFactory - cache for: NHibernate.Test.SubselectFetchTest.Child.Friends usage strategy: nonstrict-read-write 14:43:42,578 [TestRunnerThread] DEBUG NHibernate.Cache.CacheFactory - cache for: NHibernate.Test.SubselectFetchTest.Parent.Children usage strategy: nonstrict-read-write 14:43:42,578 [TestRunnerThread] DEBUG NHibernate.Impl.SessionFactoryObjectFactory - initializing class SessionFactoryObjectFactory 14:43:42,578 [TestRunnerThread] DEBUG NHibernate.Impl.SessionFactoryObjectFactory - registered: 050f2675393a48979ad0e62e1caef44f(unnamed) 14:43:42,578 [TestRunnerThread] INFO NHibernate.Impl.SessionFactoryObjectFactory - no name configured 14:43:42,703 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.SubselectFetchTest.Parent: SELECT parent0_.Name as Name2_0_ FROM Parent parent0_ WHERE parent0_.Name=? 14:43:42,703 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.SubselectFetchTest.Parent: SELECT parent0_.Name as Name2_0_ FROM Parent parent0_ WHERE parent0_.Name=? 14:43:42,703 [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 Parent parent0_ 14:43:42,703 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.SubselectFetchTest.Parent: SELECT parent0_.Name as Name2_0_ FROM Parent parent0_ WHERE parent0_.Name=? for update 14:43:42,718 [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 Parent parent0_ 14:43:42,718 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.SubselectFetchTest.Parent: SELECT parent0_.Name as Name2_0_ FROM Parent parent0_ WHERE parent0_.Name=? for update 14:43:42,718 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.SubselectFetchTest.Child: SELECT child0_.Name as Name0_0_ FROM Child child0_ WHERE child0_.Name=? 14:43:42,718 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.SubselectFetchTest.Child: SELECT child0_.Name as Name0_0_ FROM Child child0_ WHERE child0_.Name=? 14:43:42,718 [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 Child child0_ 14:43:42,718 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.SubselectFetchTest.Child: SELECT child0_.Name as Name0_0_ FROM Child child0_ WHERE child0_.Name=? for update 14:43:42,734 [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 Child child0_ 14:43:42,734 [TestRunnerThread] DEBUG NHibernate.Loader.Entity.AbstractEntityLoader - Static select for entity NHibernate.Test.SubselectFetchTest.Child: SELECT child0_.Name as Name0_0_ FROM Child child0_ WHERE child0_.Name=? for update 14:43:42,765 [TestRunnerThread] DEBUG NHibernate.Loader.Collection.BasicCollectionLoader - Static select for collection NHibernate.Test.SubselectFetchTest.Parent.MoreChildren: SELECT morechildr0_.parentName as parentName__1_, morechildr0_.childName as childName1_, morechildr0_.loc as loc__1_, child1_.Name as Name0_0_ FROM ParentChild morechildr0_ left outer join Child child1_ on morechildr0_.childName=child1_.Name WHERE morechildr0_.parentName=? 14:43:42,781 [TestRunnerThread] DEBUG NHibernate.Loader.Collection.BasicCollectionLoader - Static select for collection NHibernate.Test.SubselectFetchTest.Child.Friends: SELECT friends0_.childName1 as childName1___1_, friends0_.childName2 as childName2_1_, child1_.Name as Name0_0_ FROM ChildChild friends0_ left outer join Child child1_ on friends0_.childName2=child1_.Name WHERE friends0_.childName1=? 14:43:42,781 [TestRunnerThread] DEBUG NHibernate.Loader.Collection.OneToManyLoader - Static select for one-to-many NHibernate.Test.SubselectFetchTest.Parent.Children: SELECT children0_.parentName as parentName__1_, children0_.Name as Name1_, children0_.loc as loc__1_, children0_.Name as Name0_0_ FROM Child children0_ WHERE children0_.parentName=? 14:43:42,796 [TestRunnerThread] DEBUG NHibernate.Impl.SessionFactoryImpl - Instantiated session factory 14:43:42,812 [TestRunnerThread] INFO NHibernate.Cache.UpdateTimestampsCache - starting update timestamps cache at region: UpdateTimestampsCache 14:43:42,812 [TestRunnerThread] INFO NHibernate.Cache.StandardQueryCache - starting query cache at region: NHibernate.Cache.StandardQueryCache 14:43:42,859 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - opened session 14:43:42,875 [TestRunnerThread] DEBUG NHibernate.Transaction.AdoTransaction - begin 14:43:42,890 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:43:42,906 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - generated identifier: foo 14:43:42,906 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - saving [NHibernate.Test.SubselectFetchTest.Parent#foo] 14:43:42,921 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - processing cascades for: NHibernate.Test.SubselectFetchTest.Parent 14:43:42,937 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - done processing cascades for: NHibernate.Test.SubselectFetchTest.Parent 14:43:42,953 [TestRunnerThread] DEBUG NHibernate.Impl.WrapVisitor - Wrapped collection in role: NHibernate.Test.SubselectFetchTest.Parent.Children 14:43:42,953 [TestRunnerThread] DEBUG NHibernate.Impl.WrapVisitor - Wrapped collection in role: NHibernate.Test.SubselectFetchTest.Parent.MoreChildren 14:43:42,968 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - processing cascades for: NHibernate.Test.SubselectFetchTest.Parent 14:43:42,968 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - cascading to collection: NHibernate.Test.SubselectFetchTest.Parent.Children 14:43:42,984 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - cascading to SaveOrUpdate() 14:43:42,984 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - unsaved-value strategy ANY 14:43:42,984 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - SaveOrUpdate() unsaved instance 14:43:43,000 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - generated identifier: foo1 14:43:43,000 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - saving [NHibernate.Test.SubselectFetchTest.Child#foo1] 14:43:43,000 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - cascading to SaveOrUpdate() 14:43:43,000 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - unsaved-value strategy ANY 14:43:43,000 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - SaveOrUpdate() unsaved instance 14:43:43,000 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - generated identifier: foo2 14:43:43,000 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - saving [NHibernate.Test.SubselectFetchTest.Child#foo2] 14:43:43,015 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - done processing cascades for: NHibernate.Test.SubselectFetchTest.Parent 14:43:43,015 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - generated identifier: bar 14:43:43,015 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - saving [NHibernate.Test.SubselectFetchTest.Parent#bar] 14:43:43,015 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - processing cascades for: NHibernate.Test.SubselectFetchTest.Parent 14:43:43,015 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - done processing cascades for: NHibernate.Test.SubselectFetchTest.Parent 14:43:43,015 [TestRunnerThread] DEBUG NHibernate.Impl.WrapVisitor - Wrapped collection in role: NHibernate.Test.SubselectFetchTest.Parent.Children 14:43:43,015 [TestRunnerThread] DEBUG NHibernate.Impl.WrapVisitor - Wrapped collection in role: NHibernate.Test.SubselectFetchTest.Parent.MoreChildren 14:43:43,015 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - processing cascades for: NHibernate.Test.SubselectFetchTest.Parent 14:43:43,015 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - cascading to collection: NHibernate.Test.SubselectFetchTest.Parent.Children 14:43:43,015 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - cascading to SaveOrUpdate() 14:43:43,015 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - unsaved-value strategy ANY 14:43:43,015 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - SaveOrUpdate() unsaved instance 14:43:43,015 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - generated identifier: bar1 14:43:43,015 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - saving [NHibernate.Test.SubselectFetchTest.Child#bar1] 14:43:43,046 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - cascading to SaveOrUpdate() 14:43:43,046 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - unsaved-value strategy ANY 14:43:43,046 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - SaveOrUpdate() unsaved instance 14:43:43,046 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - generated identifier: bar2 14:43:43,046 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - saving [NHibernate.Test.SubselectFetchTest.Child#bar2] 14:43:43,062 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - done processing cascades for: NHibernate.Test.SubselectFetchTest.Parent 14:43:43,062 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - generated identifier: aaa 14:43:43,062 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - saving [NHibernate.Test.SubselectFetchTest.Parent#aaa] 14:43:43,062 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - processing cascades for: NHibernate.Test.SubselectFetchTest.Parent 14:43:43,078 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - done processing cascades for: NHibernate.Test.SubselectFetchTest.Parent 14:43:43,078 [TestRunnerThread] DEBUG NHibernate.Impl.WrapVisitor - Wrapped collection in role: NHibernate.Test.SubselectFetchTest.Parent.Children 14:43:43,078 [TestRunnerThread] DEBUG NHibernate.Impl.WrapVisitor - Wrapped collection in role: NHibernate.Test.SubselectFetchTest.Parent.MoreChildren 14:43:43,078 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - processing cascades for: NHibernate.Test.SubselectFetchTest.Parent 14:43:43,078 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - cascading to collection: NHibernate.Test.SubselectFetchTest.Parent.Children 14:43:43,078 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - cascading to SaveOrUpdate() 14:43:43,078 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - unsaved-value strategy ANY 14:43:43,078 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - SaveOrUpdate() unsaved instance 14:43:43,078 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - generated identifier: aaa1 14:43:43,078 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - saving [NHibernate.Test.SubselectFetchTest.Child#aaa1] 14:43:43,078 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - done processing cascades for: NHibernate.Test.SubselectFetchTest.Parent 14:43:43,093 [TestRunnerThread] DEBUG NHibernate.Transaction.AdoTransaction - commit 14:43:43,093 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - flushing session 14:43:43,109 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - processing cascades for: NHibernate.Test.SubselectFetchTest.Parent 14:43:43,109 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - cascading to collection: NHibernate.Test.SubselectFetchTest.Parent.Children 14:43:43,109 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - cascading to SaveOrUpdate() 14:43:43,109 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - SaveOrUpdate() persistent instance 14:43:43,109 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - cascading to SaveOrUpdate() 14:43:43,109 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - SaveOrUpdate() persistent instance 14:43:43,109 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - done processing cascades for: NHibernate.Test.SubselectFetchTest.Parent 14:43:43,125 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - processing cascades for: NHibernate.Test.SubselectFetchTest.Parent 14:43:43,125 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - cascading to collection: NHibernate.Test.SubselectFetchTest.Parent.Children 14:43:43,125 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - cascading to SaveOrUpdate() 14:43:43,125 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - SaveOrUpdate() persistent instance 14:43:43,125 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - cascading to SaveOrUpdate() 14:43:43,125 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - SaveOrUpdate() persistent instance 14:43:43,125 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - done processing cascades for: NHibernate.Test.SubselectFetchTest.Parent 14:43:43,125 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - processing cascades for: NHibernate.Test.SubselectFetchTest.Parent 14:43:43,125 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - cascading to collection: NHibernate.Test.SubselectFetchTest.Parent.Children 14:43:43,125 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - cascading to SaveOrUpdate() 14:43:43,140 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - SaveOrUpdate() persistent instance 14:43:43,140 [TestRunnerThread] DEBUG NHibernate.Engine.Cascades - done processing cascades for: NHibernate.Test.SubselectFetchTest.Parent 14:43:43,140 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Flushing entities and processing referenced collections 14:43:43,156 [TestRunnerThread] DEBUG NHibernate.Impl.AbstractVisitor - Processing collection for role NHibernate.Test.SubselectFetchTest.Parent.Children 14:43:43,171 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Collection found: [NHibernate.Test.SubselectFetchTest.Parent.Children#foo], was: [] 14:43:43,171 [TestRunnerThread] DEBUG NHibernate.Impl.AbstractVisitor - Processing collection for role NHibernate.Test.SubselectFetchTest.Parent.MoreChildren 14:43:43,171 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Collection found: [NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#foo], was: [] 14:43:43,187 [TestRunnerThread] DEBUG NHibernate.Impl.AbstractVisitor - Processing collection for role NHibernate.Test.SubselectFetchTest.Child.Friends 14:43:43,187 [TestRunnerThread] DEBUG NHibernate.Impl.AbstractVisitor - Processing collection for role NHibernate.Test.SubselectFetchTest.Child.Friends 14:43:43,187 [TestRunnerThread] DEBUG NHibernate.Impl.AbstractVisitor - Processing collection for role NHibernate.Test.SubselectFetchTest.Parent.Children 14:43:43,187 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Collection found: [NHibernate.Test.SubselectFetchTest.Parent.Children#bar], was: [] 14:43:43,187 [TestRunnerThread] DEBUG NHibernate.Impl.AbstractVisitor - Processing collection for role NHibernate.Test.SubselectFetchTest.Parent.MoreChildren 14:43:43,187 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Collection found: [NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#bar], was: [] 14:43:43,187 [TestRunnerThread] DEBUG NHibernate.Impl.AbstractVisitor - Processing collection for role NHibernate.Test.SubselectFetchTest.Child.Friends 14:43:43,187 [TestRunnerThread] DEBUG NHibernate.Impl.AbstractVisitor - Processing collection for role NHibernate.Test.SubselectFetchTest.Child.Friends 14:43:43,203 [TestRunnerThread] DEBUG NHibernate.Impl.AbstractVisitor - Processing collection for role NHibernate.Test.SubselectFetchTest.Parent.Children 14:43:43,203 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Collection found: [NHibernate.Test.SubselectFetchTest.Parent.Children#aaa], was: [] 14:43:43,203 [TestRunnerThread] DEBUG NHibernate.Impl.AbstractVisitor - Processing collection for role NHibernate.Test.SubselectFetchTest.Parent.MoreChildren 14:43:43,203 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Collection found: [NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#aaa], was: [] 14:43:43,203 [TestRunnerThread] DEBUG NHibernate.Impl.AbstractVisitor - Processing collection for role NHibernate.Test.SubselectFetchTest.Child.Friends 14:43:43,218 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Processing unreferenced collections 14:43:43,218 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - scheduling collection removes/(re)creates/updates 14:43:43,218 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Flushed: 8 insertions, 0 updates, 0 deletions to 8 objects 14:43:43,218 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Flushed: 6 (re)creations, 0 updates, 0 removals to 6 collections 14:43:43,218 [TestRunnerThread] DEBUG NHibernate.Impl.Printer - listing entities: 14:43:43,234 [TestRunnerThread] DEBUG NHibernate.Impl.Printer - NHibernate.Test.SubselectFetchTest.Child{Name=bar1, Friends=null} 14:43:43,234 [TestRunnerThread] DEBUG NHibernate.Impl.Printer - NHibernate.Test.SubselectFetchTest.Child{Name=foo1, Friends=null} 14:43:43,234 [TestRunnerThread] DEBUG NHibernate.Impl.Printer - NHibernate.Test.SubselectFetchTest.Child{Name=aaa1, Friends=null} 14:43:43,234 [TestRunnerThread] DEBUG NHibernate.Impl.Printer - NHibernate.Test.SubselectFetchTest.Parent{Children=[Child#foo1, Child#foo2], Name=foo, MoreChildren=[]} 14:43:43,250 [TestRunnerThread] DEBUG NHibernate.Impl.Printer - NHibernate.Test.SubselectFetchTest.Child{Name=foo2, Friends=null} 14:43:43,250 [TestRunnerThread] DEBUG NHibernate.Impl.Printer - NHibernate.Test.SubselectFetchTest.Parent{Children=[Child#bar1, Child#bar2], Name=bar, MoreChildren=[]} 14:43:43,250 [TestRunnerThread] DEBUG NHibernate.Impl.Printer - NHibernate.Test.SubselectFetchTest.Child{Name=bar2, Friends=null} 14:43:43,250 [TestRunnerThread] DEBUG NHibernate.Impl.Printer - NHibernate.Test.SubselectFetchTest.Parent{Children=[Child#aaa1], Name=aaa, MoreChildren=[]} 14:43:43,250 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - executing flush 14:43:43,250 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - registering flush begin 14:43:43,265 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Inserting entity: [NHibernate.Test.SubselectFetchTest.Parent#foo] 14:43:43,296 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:43:43,296 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: INSERT INTO Parent (Name) VALUES (?) 14:43:43,312 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Dehydrating entity: [NHibernate.Test.SubselectFetchTest.Parent#foo] 14:43:43,312 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'foo' to parameter: 0 14:43:43,328 [TestRunnerThread] DEBUG NHibernate.SQL - INSERT INTO Parent (Name) VALUES (:p0); :p0 = 'foo' 14:43:43,343 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Inserting entity: [NHibernate.Test.SubselectFetchTest.Child#foo1] 14:43:43,359 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:43:43,359 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:43:43,359 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: INSERT INTO Child (Name) VALUES (?) 14:43:43,359 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Dehydrating entity: [NHibernate.Test.SubselectFetchTest.Child#foo1] 14:43:43,359 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'foo1' to parameter: 0 14:43:43,359 [TestRunnerThread] DEBUG NHibernate.SQL - INSERT INTO Child (Name) VALUES (:p0); :p0 = 'foo1' 14:43:43,359 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Inserting entity: [NHibernate.Test.SubselectFetchTest.Child#foo2] 14:43:43,375 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - reusing command INSERT INTO Child (Name) VALUES (:p0) 14:43:43,375 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Dehydrating entity: [NHibernate.Test.SubselectFetchTest.Child#foo2] 14:43:43,375 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'foo2' to parameter: 0 14:43:43,390 [TestRunnerThread] DEBUG NHibernate.SQL - INSERT INTO Child (Name) VALUES (:p0); :p0 = 'foo2' 14:43:43,390 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Inserting entity: [NHibernate.Test.SubselectFetchTest.Parent#bar] 14:43:43,390 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:43:43,390 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:43:43,390 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: INSERT INTO Parent (Name) VALUES (?) 14:43:43,390 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Dehydrating entity: [NHibernate.Test.SubselectFetchTest.Parent#bar] 14:43:43,406 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'bar' to parameter: 0 14:43:43,406 [TestRunnerThread] DEBUG NHibernate.SQL - INSERT INTO Parent (Name) VALUES (:p0); :p0 = 'bar' 14:43:43,406 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Inserting entity: [NHibernate.Test.SubselectFetchTest.Child#bar1] 14:43:43,406 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:43:43,406 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:43:43,406 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: INSERT INTO Child (Name) VALUES (?) 14:43:43,421 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Dehydrating entity: [NHibernate.Test.SubselectFetchTest.Child#bar1] 14:43:43,421 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'bar1' to parameter: 0 14:43:43,421 [TestRunnerThread] DEBUG NHibernate.SQL - INSERT INTO Child (Name) VALUES (:p0); :p0 = 'bar1' 14:43:43,421 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Inserting entity: [NHibernate.Test.SubselectFetchTest.Child#bar2] 14:43:43,421 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - reusing command INSERT INTO Child (Name) VALUES (:p0) 14:43:43,421 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Dehydrating entity: [NHibernate.Test.SubselectFetchTest.Child#bar2] 14:43:43,421 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'bar2' to parameter: 0 14:43:43,421 [TestRunnerThread] DEBUG NHibernate.SQL - INSERT INTO Child (Name) VALUES (:p0); :p0 = 'bar2' 14:43:43,437 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Inserting entity: [NHibernate.Test.SubselectFetchTest.Parent#aaa] 14:43:43,437 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:43:43,437 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:43:43,437 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: INSERT INTO Parent (Name) VALUES (?) 14:43:43,437 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Dehydrating entity: [NHibernate.Test.SubselectFetchTest.Parent#aaa] 14:43:43,437 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'aaa' to parameter: 0 14:43:43,437 [TestRunnerThread] DEBUG NHibernate.SQL - INSERT INTO Parent (Name) VALUES (:p0); :p0 = 'aaa' 14:43:43,437 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Inserting entity: [NHibernate.Test.SubselectFetchTest.Child#aaa1] 14:43:43,437 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:43:43,437 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:43:43,437 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: INSERT INTO Child (Name) VALUES (?) 14:43:43,453 [TestRunnerThread] DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - Dehydrating entity: [NHibernate.Test.SubselectFetchTest.Child#aaa1] 14:43:43,468 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'aaa1' to parameter: 0 14:43:43,468 [TestRunnerThread] DEBUG NHibernate.SQL - INSERT INTO Child (Name) VALUES (:p0); :p0 = 'aaa1' 14:43:43,468 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:43:43,468 [TestRunnerThread] DEBUG NHibernate.Persister.Collection.ICollectionPersister - Inserting collection: [NHibernate.Test.SubselectFetchTest.Parent.Children#foo] 14:43:43,468 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:43:43,484 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: UPDATE Child SET parentName = ?, loc = ? WHERE Name = ? 14:43:43,484 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'foo' to parameter: 0 14:43:43,500 [TestRunnerThread] DEBUG NHibernate.Type.Int32Type - binding '0' to parameter: 1 14:43:43,500 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'foo1' to parameter: 2 14:43:43,500 [TestRunnerThread] DEBUG NHibernate.SQL - UPDATE Child SET parentName = :p0, loc = :p1 WHERE Name = :p2; :p0 = 'foo', :p1 = '0', :p2 = 'foo1' 14:43:43,500 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'foo' to parameter: 0 14:43:43,500 [TestRunnerThread] DEBUG NHibernate.Type.Int32Type - binding '1' to parameter: 1 14:43:43,515 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'foo2' to parameter: 2 14:43:43,515 [TestRunnerThread] DEBUG NHibernate.SQL - UPDATE Child SET parentName = :p0, loc = :p1 WHERE Name = :p2; :p0 = 'foo', :p1 = '1', :p2 = 'foo2' 14:43:43,515 [TestRunnerThread] DEBUG NHibernate.Persister.Collection.ICollectionPersister - done inserting collection: 2 rows inserted 14:43:43,515 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Invalidating: NHibernate.Test.SubselectFetchTest.Parent.Children#foo 14:43:43,515 [TestRunnerThread] DEBUG NHibernate.Persister.Collection.ICollectionPersister - Inserting collection: [NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#foo] 14:43:43,515 [TestRunnerThread] DEBUG NHibernate.Persister.Collection.ICollectionPersister - done inserting collection: 0 rows inserted 14:43:43,515 [TestRunnerThread] DEBUG NHibernate.Persister.Collection.ICollectionPersister - collection was empty 14:43:43,531 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Invalidating: NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#foo 14:43:43,531 [TestRunnerThread] DEBUG NHibernate.Persister.Collection.ICollectionPersister - Inserting collection: [NHibernate.Test.SubselectFetchTest.Parent.Children#bar] 14:43:43,531 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - reusing command UPDATE Child SET parentName = :p0, loc = :p1 WHERE Name = :p2 14:43:43,531 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'bar' to parameter: 0 14:43:43,546 [TestRunnerThread] DEBUG NHibernate.Type.Int32Type - binding '0' to parameter: 1 14:43:43,546 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'bar1' to parameter: 2 14:43:43,546 [TestRunnerThread] DEBUG NHibernate.SQL - UPDATE Child SET parentName = :p0, loc = :p1 WHERE Name = :p2; :p0 = 'bar', :p1 = '0', :p2 = 'bar1' 14:43:43,546 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'bar' to parameter: 0 14:43:43,546 [TestRunnerThread] DEBUG NHibernate.Type.Int32Type - binding '1' to parameter: 1 14:43:43,546 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'bar2' to parameter: 2 14:43:43,546 [TestRunnerThread] DEBUG NHibernate.SQL - UPDATE Child SET parentName = :p0, loc = :p1 WHERE Name = :p2; :p0 = 'bar', :p1 = '1', :p2 = 'bar2' 14:43:43,546 [TestRunnerThread] DEBUG NHibernate.Persister.Collection.ICollectionPersister - done inserting collection: 2 rows inserted 14:43:43,562 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Invalidating: NHibernate.Test.SubselectFetchTest.Parent.Children#bar 14:43:43,562 [TestRunnerThread] DEBUG NHibernate.Persister.Collection.ICollectionPersister - Inserting collection: [NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#bar] 14:43:43,562 [TestRunnerThread] DEBUG NHibernate.Persister.Collection.ICollectionPersister - done inserting collection: 0 rows inserted 14:43:43,562 [TestRunnerThread] DEBUG NHibernate.Persister.Collection.ICollectionPersister - collection was empty 14:43:43,562 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Invalidating: NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#bar 14:43:43,562 [TestRunnerThread] DEBUG NHibernate.Persister.Collection.ICollectionPersister - Inserting collection: [NHibernate.Test.SubselectFetchTest.Parent.Children#aaa] 14:43:43,562 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - reusing command UPDATE Child SET parentName = :p0, loc = :p1 WHERE Name = :p2 14:43:43,578 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'aaa' to parameter: 0 14:43:43,578 [TestRunnerThread] DEBUG NHibernate.Type.Int32Type - binding '0' to parameter: 1 14:43:43,578 [TestRunnerThread] DEBUG NHibernate.Type.StringType - binding 'aaa1' to parameter: 2 14:43:43,578 [TestRunnerThread] DEBUG NHibernate.SQL - UPDATE Child SET parentName = :p0, loc = :p1 WHERE Name = :p2; :p0 = 'aaa', :p1 = '0', :p2 = 'aaa1' 14:43:43,578 [TestRunnerThread] DEBUG NHibernate.Persister.Collection.ICollectionPersister - done inserting collection: 1 rows inserted 14:43:43,578 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Invalidating: NHibernate.Test.SubselectFetchTest.Parent.Children#aaa 14:43:43,578 [TestRunnerThread] DEBUG NHibernate.Persister.Collection.ICollectionPersister - Inserting collection: [NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#aaa] 14:43:43,578 [TestRunnerThread] DEBUG NHibernate.Persister.Collection.ICollectionPersister - done inserting collection: 0 rows inserted 14:43:43,578 [TestRunnerThread] DEBUG NHibernate.Persister.Collection.ICollectionPersister - collection was empty 14:43:43,578 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Invalidating: NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#aaa 14:43:43,578 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:43:43,593 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - registering flush end 14:43:43,593 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - post flush 14:43:43,593 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - before transaction completion 14:43:43,593 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - aggressively releasing database connection 14:43:43,625 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:43:43,625 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - transaction completion 14:43:43,625 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [Parent] 14:43:43,625 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [Child] 14:43:43,625 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [Child] 14:43:43,640 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [Parent] 14:43:43,640 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [Child] 14:43:43,640 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [Child] 14:43:43,640 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [Parent] 14:43:43,640 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [Child] 14:43:43,640 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Invalidating (again): NHibernate.Test.SubselectFetchTest.Parent.Children#foo 14:43:43,640 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [Child] 14:43:43,640 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Invalidating (again): NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#foo 14:43:43,656 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [ParentChild] 14:43:43,656 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Invalidating (again): NHibernate.Test.SubselectFetchTest.Parent.Children#bar 14:43:43,656 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [Child] 14:43:43,656 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Invalidating (again): NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#bar 14:43:43,656 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [ParentChild] 14:43:43,656 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Invalidating (again): NHibernate.Test.SubselectFetchTest.Parent.Children#aaa 14:43:43,656 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [Child] 14:43:43,656 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Invalidating (again): NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#aaa 14:43:43,671 [TestRunnerThread] DEBUG NHibernate.Cache.UpdateTimestampsCache - Invalidating space [ParentChild] 14:43:43,671 [TestRunnerThread] DEBUG NHibernate.Transaction.AdoTransaction - running AdoTransaction.Dispose() 14:43:43,671 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - closing session 14:43:43,671 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - running BatcherImpl.Dispose(true) 14:43:43,687 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - opened session 14:43:43,687 [TestRunnerThread] DEBUG NHibernate.Transaction.AdoTransaction - begin 14:43:43,687 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:43:43,703 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - find: from Parent order by name desc 14:43:43,703 [TestRunnerThread] DEBUG NHibernate.Engine.QueryParameters - named parameters: {} 14:43:43,734 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - compiling query 14:43:43,812 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - flushing session 14:43:43,812 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Flushing entities and processing referenced collections 14:43:43,812 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Processing unreferenced collections 14:43:43,828 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - scheduling collection removes/(re)creates/updates 14:43:43,828 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Flushed: 0 insertions, 0 updates, 0 deletions to 0 objects 14:43:43,828 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections 14:43:43,828 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - dont need to execute flush 14:43:43,859 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - HQL: from NHibernate.Test.SubselectFetchTest.Parent order by name desc 14:43:43,859 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - SQL: select parent0_.Name as Name2_ from Parent parent0_ order by name desc limit ? 14:43:43,859 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:43:43,875 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: select parent0_.Name as Name2_ from Parent parent0_ order by name desc limit ? 14:43:43,875 [TestRunnerThread] INFO NHibernate.Loader.Loader - select parent0_.Name as Name2_ from Parent parent0_ order by name desc limit :p0 14:43:43,875 [TestRunnerThread] DEBUG NHibernate.SQL - select parent0_.Name as Name2_ from Parent parent0_ order by name desc limit :p0; :p0 = '2' 14:43:43,890 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened IDataReader, open IDataReaders: 1 14:43:43,890 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - processing result set 14:43:43,890 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result set row: 0 14:43:43,906 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'foo' as column: Name2_ 14:43:43,906 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result row: foo 14:43:43,921 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Initializing object from DataReader: [NHibernate.Test.SubselectFetchTest.Parent#foo] 14:43:43,921 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Hydrating entity: NHibernate.Test.SubselectFetchTest.Parent#foo 14:43:43,937 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result set row: 1 14:43:43,937 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'bar' as column: Name2_ 14:43:43,937 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result row: bar 14:43:43,937 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Initializing object from DataReader: [NHibernate.Test.SubselectFetchTest.Parent#bar] 14:43:43,937 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Hydrating entity: NHibernate.Test.SubselectFetchTest.Parent#bar 14:43:43,937 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - done processing result set (2 rows) 14:43:43,937 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDataReader, open IDataReaders :0 14:43:43,937 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:43:43,953 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - total objects hydrated: 2 14:43:43,953 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - resolving associations for: [NHibernate.Test.SubselectFetchTest.Parent#foo] 14:43:43,953 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - creating collection wrapper:[NHibernate.Test.SubselectFetchTest.Parent.Children#foo] 14:43:43,968 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - creating collection wrapper:[NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#foo] 14:43:43,984 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - adding entity to second-level cache [NHibernate.Test.SubselectFetchTest.Parent#foo] 14:43:43,984 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Caching: NHibernate.Test.SubselectFetchTest.Parent, NHibernate.Test, Version=1.2.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4#foo 14:43:43,984 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - done materializing entity [NHibernate.Test.SubselectFetchTest.Parent#foo] 14:43:43,984 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - resolving associations for: [NHibernate.Test.SubselectFetchTest.Parent#bar] 14:43:43,984 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - creating collection wrapper:[NHibernate.Test.SubselectFetchTest.Parent.Children#bar] 14:43:43,984 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - creating collection wrapper:[NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#bar] 14:43:43,984 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - adding entity to second-level cache [NHibernate.Test.SubselectFetchTest.Parent#bar] 14:43:43,984 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Caching: NHibernate.Test.SubselectFetchTest.Parent, NHibernate.Test, Version=1.2.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4#bar 14:43:43,984 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - done materializing entity [NHibernate.Test.SubselectFetchTest.Parent#bar] 14:43:44,000 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - initializing non-lazy collections 14:43:44,015 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - initializing collection [NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#foo] 14:43:44,015 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - checking second-level cache 14:43:44,031 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Cache lookup: NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#foo 14:43:44,031 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Cache miss 14:43:44,031 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - collection not cached 14:43:44,046 [TestRunnerThread] DEBUG NHibernate.SqlCommand.SqlSelectBuilder - The initial capacity was set too low at: 10 for the SelectSqlBuilder that needed a capacity of: 14 for the table ParentChild morechildr0_ 14:43:44,046 [TestRunnerThread] DEBUG NHibernate.Loader.Collection.BasicCollectionLoader - Static select for collection NHibernate.Test.SubselectFetchTest.Parent.MoreChildren: SELECT morechildr0_.parentName as parentName__1_, morechildr0_.childName as childName1_, morechildr0_.loc as loc__1_, child1_.Name as Name0_0_ FROM ParentChild morechildr0_ left outer join Child child1_ on morechildr0_.childName=child1_.Name WHERE morechildr0_.parentName in (select parent0_.Name from Parent parent0_ order by name desc limit ?) 14:43:44,046 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:43:44,062 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: SELECT morechildr0_.parentName as parentName__1_, morechildr0_.childName as childName1_, morechildr0_.loc as loc__1_, child1_.Name as Name0_0_ FROM ParentChild morechildr0_ left outer join Child child1_ on morechildr0_.childName=child1_.Name WHERE morechildr0_.parentName in (select parent0_.Name from Parent parent0_ order by name desc limit ?) 14:43:44,062 [TestRunnerThread] INFO NHibernate.Loader.Loader - SELECT morechildr0_.parentName as parentName__1_, morechildr0_.childName as childName1_, morechildr0_.loc as loc__1_, child1_.Name as Name0_0_ FROM ParentChild morechildr0_ left outer join Child child1_ on morechildr0_.childName=child1_.Name WHERE morechildr0_.parentName in (select parent0_.Name from Parent parent0_ order by name desc limit :p0) 14:43:44,062 [TestRunnerThread] DEBUG NHibernate.SQL - SELECT morechildr0_.parentName as parentName__1_, morechildr0_.childName as childName1_, morechildr0_.loc as loc__1_, child1_.Name as Name0_0_ FROM ParentChild morechildr0_ left outer join Child child1_ on morechildr0_.childName=child1_.Name WHERE morechildr0_.parentName in (select parent0_.Name from Parent parent0_ order by name desc limit :p0) 14:43:44,062 [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:43:44,156 [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:43:44,156 [TestRunnerThread] ERROR NHibernate.Util.ADOExceptionReporter - ERROR: 42601: syntax error at or near ":" 14:43:44,156 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:43:44,156 [TestRunnerThread] DEBUG NHibernate.Util.ADOExceptionReporter - could not load collection by subselect: [NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#System.Object[]] [ SELECT morechildr0_.parentName as parentName__1_, morechildr0_.childName as childName1_, morechildr0_.loc as loc__1_, child1_.Name as Name0_0_ FROM ParentChild morechildr0_ left outer join Child child1_ on morechildr0_.childName=child1_.Name WHERE morechildr0_.parentName in (select parent0_.Name from Parent parent0_ order by name 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:43:44,171 [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:43:44,171 [TestRunnerThread] ERROR NHibernate.Util.ADOExceptionReporter - ERROR: 42601: syntax error at or near ":" 14:43:44,171 [TestRunnerThread] ERROR NHibernate.Collection.AbstractPersistentCollection - Failed to lazily initialize a collection NHibernate.ADOException: could not load collection by subselect: [NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#System.Object[]] [ SELECT morechildr0_.parentName as parentName__1_, morechildr0_.childName as childName1_, morechildr0_.loc as loc__1_, child1_.Name as Name0_0_ FROM ParentChild morechildr0_ left outer join Child child1_ on morechildr0_.childName=child1_.Name WHERE morechildr0_.parentName in (select parent0_.Name from Parent parent0_ order by name desc limit ?) ] [SQL: SELECT morechildr0_.parentName as parentName__1_, morechildr0_.childName as childName1_, morechildr0_.loc as loc__1_, child1_.Name as Name0_0_ FROM ParentChild morechildr0_ left outer join Child child1_ on morechildr0_.childName=child1_.Name WHERE morechildr0_.parentName in (select parent0_.Name from Parent parent0_ order by name 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.SubselectCollectionLoader.Initialize(Object id, ISessionImplementor session) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Collection\SubselectCollectionLoader.cs:ligne 43 à 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:43:44,187 [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.SubselectFetchTest.Parent.MoreChildren#System.Object[]] [ SELECT morechildr0_.parentName as parentName__1_, morechildr0_.childName as childName1_, morechildr0_.loc as loc__1_, child1_.Name as Name0_0_ FROM ParentChild morechildr0_ left outer join Child child1_ on morechildr0_.childName=child1_.Name WHERE morechildr0_.parentName in (select parent0_.Name from Parent parent0_ order by name desc limit ?) ] [SQL: SELECT morechildr0_.parentName as parentName__1_, morechildr0_.childName as childName1_, morechildr0_.loc as loc__1_, child1_.Name as Name0_0_ FROM ParentChild morechildr0_ left outer join Child child1_ on morechildr0_.childName=child1_.Name WHERE morechildr0_.parentName in (select parent0_.Name from Parent parent0_ order by name 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.SubselectCollectionLoader.Initialize(Object id, ISessionImplementor session) dans d:\Liberty\Helpers\NHibernate-1.2.x-svn\nhibernate\src\NHibernate\Loader\Collection\SubselectCollectionLoader.cs:ligne 43 à 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:43:44,203 [TestRunnerThread] ERROR NHibernate.Test.TestCase - Test case didn't close a session, closing 14:43:44,203 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - closing session 14:43:44,203 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - running BatcherImpl.Dispose(true) 14:43:44,203 [TestRunnerThread] DEBUG NHibernate.Transaction.AdoTransaction - running AdoTransaction.Dispose() 14:43:44,203 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - aggressively releasing database connection 14:43:44,203 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:43:44,218 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - transaction completion 14:43:44,218 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - opened session 14:43:44,218 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - find: from System.Object o 14:43:44,218 [TestRunnerThread] DEBUG NHibernate.Engine.QueryParameters - named parameters: {} 14:43:44,218 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - compiling query 14:43:44,218 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - compiling query 14:43:44,218 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - flushing session 14:43:44,218 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Flushing entities and processing referenced collections 14:43:44,218 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Processing unreferenced collections 14:43:44,218 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - scheduling collection removes/(re)creates/updates 14:43:44,218 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Flushed: 0 insertions, 0 updates, 0 deletions to 0 objects 14:43:44,218 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections 14:43:44,234 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - dont need to execute flush 14:43:44,234 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - HQL: from NHibernate.Test.SubselectFetchTest.Child o 14:43:44,234 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - SQL: select child0_.Name as Name0_ from Child child0_ 14:43:44,234 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:43:44,234 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: select child0_.Name as Name0_ from Child child0_ 14:43:44,234 [TestRunnerThread] INFO NHibernate.Loader.Loader - select child0_.Name as Name0_ from Child child0_ 14:43:44,234 [TestRunnerThread] DEBUG NHibernate.SQL - select child0_.Name as Name0_ from Child child0_ 14:43:44,234 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:43:44,234 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened IDataReader, open IDataReaders: 1 14:43:44,265 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - processing result set 14:43:44,265 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result set row: 0 14:43:44,265 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'foo1' as column: Name0_ 14:43:44,265 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result row: foo1 14:43:44,265 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Initializing object from DataReader: [NHibernate.Test.SubselectFetchTest.Child#foo1] 14:43:44,265 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Hydrating entity: NHibernate.Test.SubselectFetchTest.Child#foo1 14:43:44,265 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result set row: 1 14:43:44,281 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'foo2' as column: Name0_ 14:43:44,281 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result row: foo2 14:43:44,281 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Initializing object from DataReader: [NHibernate.Test.SubselectFetchTest.Child#foo2] 14:43:44,281 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Hydrating entity: NHibernate.Test.SubselectFetchTest.Child#foo2 14:43:44,296 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result set row: 2 14:43:44,296 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'bar1' as column: Name0_ 14:43:44,296 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result row: bar1 14:43:44,296 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Initializing object from DataReader: [NHibernate.Test.SubselectFetchTest.Child#bar1] 14:43:44,296 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Hydrating entity: NHibernate.Test.SubselectFetchTest.Child#bar1 14:43:44,296 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result set row: 3 14:43:44,296 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'bar2' as column: Name0_ 14:43:44,296 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result row: bar2 14:43:44,296 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Initializing object from DataReader: [NHibernate.Test.SubselectFetchTest.Child#bar2] 14:43:44,296 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Hydrating entity: NHibernate.Test.SubselectFetchTest.Child#bar2 14:43:44,296 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result set row: 4 14:43:44,312 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'aaa1' as column: Name0_ 14:43:44,312 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result row: aaa1 14:43:44,312 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Initializing object from DataReader: [NHibernate.Test.SubselectFetchTest.Child#aaa1] 14:43:44,328 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Hydrating entity: NHibernate.Test.SubselectFetchTest.Child#aaa1 14:43:44,328 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - done processing result set (5 rows) 14:43:44,328 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDataReader, open IDataReaders :0 14:43:44,328 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:43:44,328 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - aggressively releasing database connection 14:43:44,328 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:43:44,328 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - total objects hydrated: 5 14:43:44,343 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - resolving associations for: [NHibernate.Test.SubselectFetchTest.Child#foo1] 14:43:44,343 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - creating collection wrapper:[NHibernate.Test.SubselectFetchTest.Child.Friends#foo1] 14:43:44,343 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - adding entity to second-level cache [NHibernate.Test.SubselectFetchTest.Child#foo1] 14:43:44,343 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Caching: NHibernate.Test.SubselectFetchTest.Child, NHibernate.Test, Version=1.2.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4#foo1 14:43:44,343 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - done materializing entity [NHibernate.Test.SubselectFetchTest.Child#foo1] 14:43:44,343 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - resolving associations for: [NHibernate.Test.SubselectFetchTest.Child#foo2] 14:43:44,343 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - creating collection wrapper:[NHibernate.Test.SubselectFetchTest.Child.Friends#foo2] 14:43:44,343 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - adding entity to second-level cache [NHibernate.Test.SubselectFetchTest.Child#foo2] 14:43:44,343 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Caching: NHibernate.Test.SubselectFetchTest.Child, NHibernate.Test, Version=1.2.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4#foo2 14:43:44,343 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - done materializing entity [NHibernate.Test.SubselectFetchTest.Child#foo2] 14:43:44,359 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - resolving associations for: [NHibernate.Test.SubselectFetchTest.Child#bar1] 14:43:44,359 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - creating collection wrapper:[NHibernate.Test.SubselectFetchTest.Child.Friends#bar1] 14:43:44,359 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - adding entity to second-level cache [NHibernate.Test.SubselectFetchTest.Child#bar1] 14:43:44,359 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Caching: NHibernate.Test.SubselectFetchTest.Child, NHibernate.Test, Version=1.2.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4#bar1 14:43:44,359 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - done materializing entity [NHibernate.Test.SubselectFetchTest.Child#bar1] 14:43:44,359 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - resolving associations for: [NHibernate.Test.SubselectFetchTest.Child#bar2] 14:43:44,359 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - creating collection wrapper:[NHibernate.Test.SubselectFetchTest.Child.Friends#bar2] 14:43:44,359 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - adding entity to second-level cache [NHibernate.Test.SubselectFetchTest.Child#bar2] 14:43:44,359 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Caching: NHibernate.Test.SubselectFetchTest.Child, NHibernate.Test, Version=1.2.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4#bar2 14:43:44,359 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - done materializing entity [NHibernate.Test.SubselectFetchTest.Child#bar2] 14:43:44,359 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - resolving associations for: [NHibernate.Test.SubselectFetchTest.Child#aaa1] 14:43:44,375 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - creating collection wrapper:[NHibernate.Test.SubselectFetchTest.Child.Friends#aaa1] 14:43:44,375 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - adding entity to second-level cache [NHibernate.Test.SubselectFetchTest.Child#aaa1] 14:43:44,375 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Caching: NHibernate.Test.SubselectFetchTest.Child, NHibernate.Test, Version=1.2.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4#aaa1 14:43:44,390 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - done materializing entity [NHibernate.Test.SubselectFetchTest.Child#aaa1] 14:43:44,390 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - initializing non-lazy collections 14:43:44,390 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - HQL: from NHibernate.Test.SubselectFetchTest.Parent o 14:43:44,390 [TestRunnerThread] DEBUG NHibernate.Hql.Classic.QueryTranslator - SQL: select parent0_.Name as Name2_ from Parent parent0_ 14:43:44,390 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened new IDbCommand, open IDbCommands: 1 14:43:44,390 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Building an IDbCommand object for the SqlString: select parent0_.Name as Name2_ from Parent parent0_ 14:43:44,406 [TestRunnerThread] INFO NHibernate.Loader.Loader - select parent0_.Name as Name2_ from Parent parent0_ 14:43:44,406 [TestRunnerThread] DEBUG NHibernate.SQL - select parent0_.Name as Name2_ from Parent parent0_ 14:43:44,406 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:43:44,406 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Opened IDataReader, open IDataReaders: 1 14:43:44,406 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - processing result set 14:43:44,406 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result set row: 0 14:43:44,406 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'foo' as column: Name2_ 14:43:44,421 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result row: foo 14:43:44,421 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Initializing object from DataReader: [NHibernate.Test.SubselectFetchTest.Parent#foo] 14:43:44,421 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Hydrating entity: NHibernate.Test.SubselectFetchTest.Parent#foo 14:43:44,421 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result set row: 1 14:43:44,421 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'bar' as column: Name2_ 14:43:44,421 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result row: bar 14:43:44,421 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Initializing object from DataReader: [NHibernate.Test.SubselectFetchTest.Parent#bar] 14:43:44,437 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Hydrating entity: NHibernate.Test.SubselectFetchTest.Parent#bar 14:43:44,437 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result set row: 2 14:43:44,437 [TestRunnerThread] DEBUG NHibernate.Type.StringType - returning 'aaa' as column: Name2_ 14:43:44,437 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - result row: aaa 14:43:44,437 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Initializing object from DataReader: [NHibernate.Test.SubselectFetchTest.Parent#aaa] 14:43:44,437 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - Hydrating entity: NHibernate.Test.SubselectFetchTest.Parent#aaa 14:43:44,437 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - done processing result set (3 rows) 14:43:44,437 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDataReader, open IDataReaders :0 14:43:44,437 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - Closed IDbCommand, open IDbCommands: 0 14:43:44,437 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - aggressively releasing database connection 14:43:44,437 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:43:44,437 [TestRunnerThread] DEBUG NHibernate.Loader.Loader - total objects hydrated: 3 14:43:44,468 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - resolving associations for: [NHibernate.Test.SubselectFetchTest.Parent#foo] 14:43:44,468 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - creating collection wrapper:[NHibernate.Test.SubselectFetchTest.Parent.Children#foo] 14:43:44,468 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - creating collection wrapper:[NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#foo] 14:43:44,468 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - adding entity to second-level cache [NHibernate.Test.SubselectFetchTest.Parent#foo] 14:43:44,484 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Caching: NHibernate.Test.SubselectFetchTest.Parent, NHibernate.Test, Version=1.2.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4#foo 14:43:44,484 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - done materializing entity [NHibernate.Test.SubselectFetchTest.Parent#foo] 14:43:44,484 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - resolving associations for: [NHibernate.Test.SubselectFetchTest.Parent#bar] 14:43:44,484 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - creating collection wrapper:[NHibernate.Test.SubselectFetchTest.Parent.Children#bar] 14:43:44,484 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - creating collection wrapper:[NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#bar] 14:43:44,500 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - adding entity to second-level cache [NHibernate.Test.SubselectFetchTest.Parent#bar] 14:43:44,500 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Caching: NHibernate.Test.SubselectFetchTest.Parent, NHibernate.Test, Version=1.2.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4#bar 14:43:44,500 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - done materializing entity [NHibernate.Test.SubselectFetchTest.Parent#bar] 14:43:44,500 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - resolving associations for: [NHibernate.Test.SubselectFetchTest.Parent#aaa] 14:43:44,500 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - creating collection wrapper:[NHibernate.Test.SubselectFetchTest.Parent.Children#aaa] 14:43:44,500 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - creating collection wrapper:[NHibernate.Test.SubselectFetchTest.Parent.MoreChildren#aaa] 14:43:44,500 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - adding entity to second-level cache [NHibernate.Test.SubselectFetchTest.Parent#aaa] 14:43:44,515 [TestRunnerThread] DEBUG NHibernate.Cache.NonstrictReadWriteCache - Caching: NHibernate.Test.SubselectFetchTest.Parent, NHibernate.Test, Version=1.2.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4#aaa 14:43:44,515 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - done materializing entity [NHibernate.Test.SubselectFetchTest.Parent#aaa] 14:43:44,515 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - initializing non-lazy collections 14:43:44,515 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - after autocommit 14:43:44,515 [TestRunnerThread] DEBUG NHibernate.Impl.ConnectionManager - aggressively releasing database connection 14:43:44,515 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - transaction completion 14:43:44,515 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - running ISession.Dispose() 14:43:44,515 [TestRunnerThread] DEBUG NHibernate.Impl.SessionImpl - closing session 14:43:44,515 [TestRunnerThread] DEBUG NHibernate.Impl.BatcherImpl - running BatcherImpl.Dispose(true) 14:43:44,515 [TestRunnerThread] ERROR NHibernate.Test.TestCase - Test case didn't clean up the database after itself, re-creating the schema 14:43:44,515 [TestRunnerThread] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.PostgreSQLDialect 14:43:44,515 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - checking mappings queue 14:43:44,531 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-many association mappings 14:43:44,531 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-one association property references 14:43:44,531 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing foreign key constraints 14:43:44,546 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Parent 14:43:44,546 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Parent 14:43:44,546 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:44,546 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:44,546 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:44,546 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - checking mappings queue 14:43:44,562 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-many association mappings 14:43:44,562 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-one association property references 14:43:44,562 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing foreign key constraints 14:43:44,562 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Parent 14:43:44,562 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Parent 14:43:44,562 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:44,562 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:44,562 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:44,562 [TestRunnerThread] INFO NHibernate.Connection.ConnectionProviderFactory - Initializing connection provider: NHibernate.Test.DebugConnectionProvider, NHibernate.Test 14:43:44,562 [TestRunnerThread] INFO NHibernate.Connection.ConnectionProvider - Configuring ConnectionProvider 14:43:44,578 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:43:44,593 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:43:44,593 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Disposing of ConnectionProvider. 14:43:44,609 [TestRunnerThread] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.PostgreSQLDialect 14:43:44,609 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - checking mappings queue 14:43:44,609 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-many association mappings 14:43:44,609 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-one association property references 14:43:44,609 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing foreign key constraints 14:43:44,609 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Parent 14:43:44,609 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Parent 14:43:44,609 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:44,609 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:44,609 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:44,609 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - checking mappings queue 14:43:44,609 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-many association mappings 14:43:44,609 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-one association property references 14:43:44,609 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing foreign key constraints 14:43:44,609 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Parent 14:43:44,609 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Parent 14:43:44,640 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:44,640 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:44,640 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:44,640 [TestRunnerThread] INFO NHibernate.Connection.ConnectionProviderFactory - Initializing connection provider: NHibernate.Test.DebugConnectionProvider, NHibernate.Test 14:43:44,640 [TestRunnerThread] INFO NHibernate.Connection.ConnectionProvider - Configuring ConnectionProvider 14:43:44,656 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:43:44,718 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:43:44,718 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Disposing of ConnectionProvider. 14:43:44,734 [TestRunnerThread] INFO NHibernate.Dialect.Dialect - Using dialect: NHibernate.Dialect.PostgreSQLDialect 14:43:44,734 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - checking mappings queue 14:43:44,734 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-many association mappings 14:43:44,734 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-one association property references 14:43:44,734 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing foreign key constraints 14:43:44,734 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Parent 14:43:44,734 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Parent 14:43:44,734 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:44,734 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:44,734 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:44,734 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - checking mappings queue 14:43:44,734 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-many association mappings 14:43:44,734 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing one-to-one association property references 14:43:44,734 [TestRunnerThread] INFO NHibernate.Cfg.Configuration - processing foreign key constraints 14:43:44,734 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Parent 14:43:44,750 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Parent 14:43:44,750 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:44,750 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:44,750 [TestRunnerThread] DEBUG NHibernate.Cfg.Configuration - resolving reference to class: Child 14:43:44,750 [TestRunnerThread] INFO NHibernate.Connection.ConnectionProviderFactory - Initializing connection provider: NHibernate.Test.DebugConnectionProvider, NHibernate.Test 14:43:44,750 [TestRunnerThread] INFO NHibernate.Connection.ConnectionProvider - Configuring ConnectionProvider 14:43:44,765 [TestRunnerThread] DEBUG NHibernate.Connection.DriverConnectionProvider - Obtaining IDbConnection from Driver 14:43:44,781 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Closing connection 14:43:44,781 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Disposing of ConnectionProvider. 14:43:44,796 [TestRunnerThread] INFO NHibernate.Impl.SessionFactoryImpl - Closing 14:43:44,796 [TestRunnerThread] DEBUG NHibernate.Connection.ConnectionProvider - Disposing of ConnectionProvider.