Implement db connection using JPA ,Hibernate  & Mysql