the most common error when trying to pull data from the database and using JPA(or hibernate) is 'column' not found.
As you have mentioned that your data is part of an entity (Annotation @entity) now, ORM tries to map every column of that entity to your query because it needs to populate each value from the query to your entity.
For more information, check this explanation
No comments:
Post a Comment