Connected to mysql vi implementing hibernate