Спящий режим при переносе узлов Corda в Corda 4.3 - PullRequest
0 голосов
/ 16 января 2020

При обновлении до Corda Open Source 4.3 я столкнулся с этой ошибкой при запуске узла. При этом используется Hibernate 5.4.3, как того требует Corda.

[ERROR] 2019-12-18T16:17:25,820Z [main] internal.NodeStartupLogging. - Exception during node startup: Could not create Hibernate configuration: 
The [com.foo.BarSchema$NotificationState] and [com.foo.v2.BarSchema$NotificationState] entities share the same JPA entity name: [BarSchema$NotificationState] which is not allowed! [errorCode=3elmpn, moreInformationAt=https://errors.corda.net/OS/4.3/3elmpn]
net.corda.nodeapi.internal.persistence.HibernateConfigException: Could not create Hibernate configuration: 
The [com.foo.BarSchema$NotificationState] and [com.foo.v2.BarSchema$NotificationState] entities share the same JPA entity name: [BarSchema$NotificationState] which is not allowed!

1 Ответ

0 голосов
/ 16 января 2020

Это вызвано известной проблемой в Hibernate, как описано здесь: https://hibernate.atlassian.net/browse/HHH-13060

Как рекомендуется в комментариях, установка аннотации имени объекта разрешает исключение.

...