This content has been marked as final.
Show 2 replies
-
1. Re: Session always return null (@In)
norman Mar 20, 2009 7:23 PM (in response to guga.java)Try naming your hibernate session as something other than session and see if that solves your problem.
-
2. Re: Session always return null (@In)
zmicer Mar 21, 2009 7:26 PM (in response to guga.java)Please find my thoughts on a way to understand what problem is and confirm Norman's notes.
try in debug mode the following expression (in Eclipse debug mode and
expressions
view )Component.getInstance("session")
This code would try to create component with the name session. At the expressions view you would be able to see instance of which class is returned. It would answers if your component is instantiated correctly.
Kind regards,
Dzmitry