9
Note that when supplying an IDbConnection to OpenSession(), you will not be able to use the 2nd level cache.
See https://forum.hibernate.org/viewtopic.php?f=25&t=959178
... "This is not a bug. If you are managing your own connections, NHibernate disables the use of second-level cache for the session to be safe."...