Jump to content
We've recently updated our Privacy Statement, available here ×

set session time zone / query timestamp


lvgmuellst

Recommended Posts

Hi,

 

in a query I want to use a column of the type TIMESTAMP WITH LOCAL TIME ZONE (Oracle).

 

I have set the field type and the expression type in the property dialog of the textfield to java.sql.Timestamp

 

When executing I get the SQLException "Session Time Zone not set!".

 

To do this I have to execute the following sql-statement after opening the connection: ALTER SESSION SET TIME_ZONE = '+1:00';

 

How can I do this?

Or does anybody know another way to read this type of column

 

Thank you very much!

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • 6 years later...
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...