Added mysql-connector dependency
Created prepared statements in DAO - Secured sql injections
Implement JPA API with Hibernate in your domain classes and JPQL Queries