Configured Spring and Hibernate to work with MySQL