This week's book giveaway is in the Other Open Source APIs forum. We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski on-line! See this thread for details.
I think its relevant in this forum, David. The usual cause for this sort of behaviour is a misconfigured SessionFactory. Praveen, can you post any error s you see in your log files - ideally as David asks in a new topic (for clarity's sake)?