9th commit by laizuling,use hibernate