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

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -