No data type for node: org.hibernate.hql.internal.ast.tree.IdentNode HQL

SQL queries use column names while HQL queries use Class properties. You’re selecting artifact_id from Classification but the Classification class has no property named ‘artifact_id’. To fix it, use the class property in your HQL.

SELECT artifactId FROM Classification

Leave a Comment