liquibase - Setting time zone of hsqldb by using url -
is there way set database timezone using url properties? seems utc+2hours in test utc, tests fail because of time difference (im inserting 00:00 during verification hour fetched db 02:00). know can done set time zone
dont have script initializing db in tests, liquibase file same production code.
you need set jvm time zone, answered here: how set jvm timezone properly
now if need test against database running in utc program not running in utc, need start hsqldb server in separate process running in utc.
Comments
Post a Comment