startSession

This method starts a session.
It creates a new session for the calling thread and assigns a
database connection to it and it creates a new transaction.
It must be called by the calling thread before any other method
of this session context can be called.