I have a question/problem. I have a class with my User object. If I only have the columns as variables, everything works as expected. If I add another variable that is not in the database, I get "Exception in thread "main" org.hibernate.exception.SQLGrammarException: could not execute query". I thought I could add the other variables without mapping them to the table (cardNumber, balance). I was wrong How can I add them to my class? Thanks.