Hiberate and simple Spring configurations