Loading a persistence unit with Hibernate seconde level cache, jcache API and Hazelcast Provider causes errors because HazelcastCachingProvider is not a subtype of javax.cache.spi.CachingProvider

Description

Recently, we have upgraded the version of Hibernate from 4.3.5 to 5.3.7, then we can't launch our project right now in active mode of second level cache with Hazelcast implementation. Following are some snippets of our related configuration :

persistence.xml

error messages

In fact, the class HazelcastCachingProvider is a concrete class of CachingProvider in the package of com.hazelcast.cache

Environment

Java 8, Glassfih 4.1, JPA 2.2, Hibernate-* 5.3.7, Hazelcast 3.12, cache-api 1.1.0

Assignee

Unassigned

Reporter

technique ecc

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Worked in

4.3.5

Components

Affects versions

Priority

Blocker
Configure