Upgrade Corda Core to use Java Persistence API 2.2

Description

When we upgraded Hibernate from 5.2.6 to 5.3.6, we also implicitly upgraded Corda to use JPA 2.2.

corda-core has an explicit dependency on:

but it now also has a transitive dependency on:

These two jars contain nominally the same classes, but Hibernate is expecting the JPA 2.2 jar. This means that the former JPA 2.1 jar should be removed.

Assignee

Chris Rankin

Reporter

Chris Rankin

Epic Link

None

Priority

Medium

Engineering Teams

None

Fix versions

Affects versions

Ported to...

None

Sprint

None

Labels

None

Story Points / Dev Days

None

Feature Team

Select team

Severity

Medium
Configure