After I start a session with my database using sessionFactory, what is the proper way to issue an alter session command against the database?
Specifically, I am trying to change the time zone that the session is using on the fly. If I was doing this against Oracle through a regular query tool like TOAD, I would connect to the database, and then run the command:
alter session set TIME_ZONE='-03:00';
So how do I do that through hibernate?
Note: I realize this may be a simple question, but I have searched through the documentation over and over and I just keep missing it. Please end my confusion and my fruitless searching. Thank you!
|