#hibernate #jpa
Как правильно сделать inner join?
Пробовал вчера в неск-х вариациях, так и не получил того, что мне необходимо.
Мой запрос сейчас такой:
private static final String GET_ACTIVE_LIST_QUERY = "select id from AdminUserEntity u inner join u.auth a " +
"where u.auth.disabled = false and
u.email is not null"
Выдает ошибку: org.hibernate.QueryException: No data type for node: org.hibernate.hql.internal.ast.tree.IdentNode
\-[IDENT] IdentNode: 'id' {originalText=id}