ORM beanpopulator not compatible with Hibernate 5

Description

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.

https://stackoverflow.com/questions/40110913/hibernate-5-2-3-sessionfactory-getallclassmetadata-is-no-longer-supported

Fixed

Assignee

Luis Majano

Reporter

Brad Wood

Labels

None

Components

Fix versions

Affects versions

Priority

Critical
Configure