See https://github.com/hibernate/hibernate-ogm/pull/261#commitcomment-4820359