Another month, another release: Hibernate OGM 5.2 Beta1 is ready!
The main goal for this release is to support Infinispan 9.1 and allow the creations of caches when they are missing.
If you need to upgrade from a version before 5.2, you can find help on the migration notes.
All the changes are described in the release notes.
By default, Hibernate OGM expects the caches you defined via the mapping and the configuration to already exit on the Infinispan server. At start up, an exception is thrown if one of the caches is not found.
With this version is now possible to have Hibernate OGM create the caches on startup if they are missing. You can enable this feature by setting the property:
The official documentation has more details about the different cache mapping approaches in Infinispan.
We understand that the name of this property is strange in the Infinispan context. This property is a generic one used by many different dialects and it will likely change before the final release.
You can include in your project the dialect of your choice using this maven coordinates:
Alternatively, you can download archives containing all the binaries, source code and documentation from Sourceforge.
If you are intersted about availabe versions, you can check the official Hibernate OGM download page.
We will work on improving the integration with Infinispan remote and support the JPA and Hibernate ORM properties for the databases validation and creation at start up. We will also add a new annotation to make it easier to select a template configuration for Infinispan caches.