This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Because its neither here nor there with regards to Ganeshkumar's problem; why do you think it would change the issue? If session is null when flush is called, it is also null when save is called. Also, moving it from the finally block will leave Sessions open if exceptions occur; where this code is currently is the best place for it.