Set default timezone H2 database

前端 未结 6 1508
谎友^
谎友^ 2020-12-16 00:46

How can I explicitly set the time zone H2 should use? Now it gets the timezone to use from the underlying OS. I would assume there existed an extra parameter I would add to

6条回答
  •  半阙折子戏
    2020-12-16 00:57

    You can't set the timezone for the database.

    But, I'm not aware that H2 uses a timezone (at least not a current version of H2) for most operations.

    So, what problem do you want to solve?

提交回复
热议问题