posted 9 years ago
The exception there seems pretty straightforward:
I'd like to know why it mentions an insert to an "employee" table when your class you are fetching in LoginAction is ExamRegister. This leads me to believe that you are not showing us the full stack trace from your first post.
How did you set up ExamRegister with Hibernate? A mapping file or annotations? Can you show us the ExamRegister class and the mapping file (if any).