One note for the coding style, I think the provided Idea XML file in https://github.com/hibernate/hibernate-ide-codestyles doesn't work in latest IDEA because I succesfully applied it but ./gradlew check reports some CS errors.