Hi,
I ran into the Issue https://hibernate.atlassian.net/browse/HHH-10620. The workaround described at https://community.intersystems.com/post/support-java-hibernate-5 worked for me. I'm using Hibernate Version 5.3.2.Final.
InterSystems Caché is a multi-model DBMS and application server. See more details here.