mirror of
https://github.com/corda/corda.git
synced 2025-02-20 09:26:41 +00:00
making sure hibernate uses UTC time zone (#6168)
This commit is contained in:
parent
f4c1119727
commit
02d21c7bac
@ -91,6 +91,7 @@ class HibernateConfiguration(
|
||||
.setProperty("hibernate.hbm2ddl.auto", hbm2dll)
|
||||
.setProperty("javax.persistence.validation.mode", "none")
|
||||
.setProperty("hibernate.connection.isolation", databaseConfig.transactionIsolationLevel.jdbcValue.toString())
|
||||
.setProperty("hibernate.jdbc.time_zone", "UTC")
|
||||
|
||||
schemas.forEach { schema ->
|
||||
// TODO: require mechanism to set schemaOptions (databaseSchema, tablePrefix) which are not global to session
|
||||
|
Loading…
x
Reference in New Issue
Block a user