Trying another way to configure hibernate.