| See the testcase attached . This query will fail on 5.2.12 when it was fine on 5.0.12 (this was found during upgrade to Spring boot 2 from 1.5.7). Change the POM to see both tests working on 5.0.12. <version.org.hibernate>5.2.14.Final</version.org.hibernate> <!-<version.org.hibernate>5.0.12.Final</version.org.hibernate>-> I marked it minor because there is an easy workaround (rename the Enum to not start with caps). I wanted to report it anyway just in case other people hit it and it takes quite a bit of investigation to isolate the problem. I guess it could have other ramifications as well. p.s. thanks for the great product! |