![java.lang.IllegalArgumentException: org.hibernate.hql.internal.ast.QuerySyntaxException: User is not mapped [from User] - Stack Overflow java.lang.IllegalArgumentException: org.hibernate.hql.internal.ast.QuerySyntaxException: User is not mapped [from User] - Stack Overflow](https://i.stack.imgur.com/MJ6cV.png)
java.lang.IllegalArgumentException: org.hibernate.hql.internal.ast.QuerySyntaxException: User is not mapped [from User] - Stack Overflow
![java - referencedColumnNames not mapped to a single property error during mapping to a non primary key Spring JPA - Stack Overflow java - referencedColumnNames not mapped to a single property error during mapping to a non primary key Spring JPA - Stack Overflow](https://i.stack.imgur.com/xzAIV.png)
java - referencedColumnNames not mapped to a single property error during mapping to a non primary key Spring JPA - Stack Overflow
![java - Hibernate/JPA How to fix wrong generation of database tables from subclasses - Stack Overflow java - Hibernate/JPA How to fix wrong generation of database tables from subclasses - Stack Overflow](https://i.stack.imgur.com/sQp1W.png)