Essential changes to make it work can be taken from https://github.com/gunnarmorling/hibernate-ogm/commit/f9edc92e8c2f07d9491194ae9949b60b6f393e08 once we'll do the update.