The ORM beanpopulator is not compatible with Hibernate 5. An example is line 307 of system/core/dynamic/BeanPopulator.cfc where we have code like this:
That code throws this error in Hibernate 5
We need to detect the Hibernate version and replace it with a call to EntityManagerFactory.getMetamodel() instead.