I am trying to persist an entity into HSQL database. I have a stateless session bean that fetches/cleans the list of operations performed on two operands, and also uses DI (another stateless session bean) to manipulate the operands mathematically.
When I run the client (
java app), i get this exception for the entity class -
Caused by: org.hibernate.QueryException: could not resolve property: timestamp of: com.example.Operation
My entity is as follows:
I tried to use a different name for the table as seen in the commented code at the top of class. But I got an exception saying something about the mapped name. So i settled for the default name.
Can any one help me on the above issue?
My bean is
I am not sure why the exception says the property to be
timestamp whle my bean and entity use
timeStamp