HHH-8866 HQL Query with enum and @Convert for branch 4.3

Patch for last 4.3 branch according to https://github.com/hibernate/hibernate-orm/pull/660