Joined: Tue Nov 30, 2004 4:18 am Posts: 6 Location: colombo
|
I populate a hibernate persisted bean in a struts action class and store in HttpSession. Then it is forwarded to a jsp and once it is submitted - within another action I try to retrive the above bean, the session return a null value. I have checked for any intermedite code that may remove the HttpSession session or recreate it, but found none.
Could this be a known issue when using Hibernate with MySQL and Struts?
Hibernate version:2.1
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs: (Null point exception).
Name and version of the database you are using: MYsql Version-4.1.9-NT
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
|
|