Error when setting useTimezone=true
Posted by: Paul Darling
Date: August 20, 2005 04:26PM

I've read on this list that to have getTimestamp() use the Calendar object parameter, useTimezone must be true in the connection URL. However, including useTimezone=true in the URL is causing a java.lang.ExceptionInInitializerError to be thrown when using the URL.

I don't see the exception if serverTimezone=<some TZ value> is also included included in URL. Does serverTimezone need to be included if useTimezone=true? I wouldn't have thought so, because I want the actual timezone of the server to be used, not some value that I define that may not always match the server time zone.

Any help appreciated. Thanks,
Paul

Options: ReplyQuote


Subject
Written By
Posted
Error when setting useTimezone=true
August 20, 2005 04:26PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.