Hazelcast provides a distributed second level cache for your Hibernate entities, collections and queries.
hazelcast-hibernate5 supports Java 6+, Hibernate 5.0.x, Hibernate 5.1.x and Hazelcast 3.7+
hazelcast-hibernate52 supports Java 8, Hibernate 5.2.x and Hazelcast 3.7+
The project needs to be compiled using Java 8.
See here for details.