simple java desktop project with maven and hibernate. here i have used the annotation based mapping