Wednesday, 11 July 2012

This problem happens when we use any kind of legal word as the name of
the table or column. Here, the legal word means a word which is treated
by hibernate in a different manner. For instance, if you user the word
'from' as the column name, the same error will occur because the word
'from' is used in the sql (select * from tablename). I advice you to
change the column names.