Added example for hibernate with spring.
Added example for hibernate with spring.