Well, it seems it was all my fault, I tried this: IStatelessSession session = holder.GetSessionFactory(holder.GetRootType(targetType)).OpenStatelessSession();
And now it works!! It now creates just one instance of teh sessionfactory for the life of the application.. Thanks On 24 ago, 13:13, Jason Meckley <[email protected]> wrote: > sounds funny to me and English is my first language :) > I would assume they mean ISessionFactoryHolder is designed for testing only. > for example: creating a session factory for each test. -- You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.
