Skip to content

mybatis/hazelcast-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1b07ceb · Apr 22, 2025
Apr 21, 2025
Apr 22, 2025
Apr 15, 2024
Aug 26, 2023
Jan 2, 2020
Feb 5, 2024
Aug 6, 2022
Nov 9, 2023
Apr 15, 2024
Aug 6, 2022
Jun 15, 2024
Jun 15, 2024
Apr 22, 2025
Feb 5, 2024

Repository files navigation

MyBatis Hazelcast Extension

Java CI Coverage Status Maven central Sonatype Nexus (Snapshots) License

mybatis-logo

MyBatis-Hazelcast extension Hazelcast support for MyBatis Cache.

Essentials

This module contains two cache implementations utilizing Hazelcast:

  1. org.mybatis.caches.hazelcast.HazelcastCache:

Use "org.mybatis.caches.hazelcast.HazelcastCache" if you want the JVM running MyBatis to be part of the Hazelcast cache cluster.

Internally this is calling "Hazelcast.newHazelcastInstance()".

  1. org.mybatis.caches.hazelcast.HazelcastClientCache:

Use "org.mybatis.caches.hazelcast.HazelcastClientCache" if you want the JVM running MyBatis to be a client to a Hazelcast cache cluster running outside the JVM running MyBatis.

Internally this is calling "HazelcastClient.newHazelcastClient()". Also see https://hazelcast.org/docs/latest/manual/html/nativeclient.html

Support Hazelcast

mybatis-hazelcast 1.1.x supports hazelcast 3 - end of life (jdk 8) mybatis-hazelcast 1.2.x supports hazelcast 4 - end of life (jdk 8) mybatis-hazelcast 1.3.x supports hazelcast 5 until 5.3.x (jdk 8) mybatis-hazelcast 1.4.x supports hazelcast 5.4.x on (jdk 17)