I just updated the code to use Spring Boot 2.2.5.RELEASE (uses Hibernate 5.4.12) and the issue is still there.