update() method can only be used inside session. update() should be used if session does not contain persistent object.
Previous Question Next Question
Your comments will be displayed only after manual approval.