This example demonstrates the openSession() and getCurrentSession()