Begin implement hibernate