session factory attribute on db object