"object" is a reserved keyword in both HQL and JPQL. The fact that it "worked" up until 4.2.10 was probably an oversight. Several HQL fixes went into 4.2.11 and 4.2.12 that probably make use of that.