ODB Session implementation: Session and cache.