How to change DBeaver timezone / How to stop DBeaver from converting date and time

前端 未结 6 1366
终归单人心
终归单人心 2020-12-14 07:34

When I use DBeaver with Cassandra, it shows an offset of +01:00 even though the data is stored in Date or Times formats, that don\'t have any timezones. This results in some

6条回答
  •  执念已碎
    2020-12-14 08:36

    I found another solution:

    Setting dbeaver.ini file in DBeaver root directory.

    Open the file:

    -startup
    plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
    --launcher.library
    plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834
    -showsplash
    # START: change jre version, not using the one in %JAVA_HOME%
    -vm 
    D:\ArPortable\Java\jdk1.8.0_171\jre\bin\server\jvm.dll
    # END
    # JVM settings
    -vmargs
    -XX:+IgnoreUnrecognizedVMOptions
    --add-modules=ALL-SYSTEM
    -Xms64m
    -Xmx1024m
    # time zone
    -Duser.timezone=UTC
    # language
    -Duser.language=en
    

提交回复
热议问题