This can be closed as neither spring nor hibernate folks consider this as a solution to this problem.