Code example for SessionFactory

Methods: openSession