public function create(Vulnerability &$vulnerability)
 {
     $this->db->query("insert into Vulnerability set\n      \toperator='" . $this->db->escape($vulnerability->getOperator()) . "',\n      \tcveDefId=" . $this->db->escape($vulnerability->getCveDefId()) . ",\n      \tosGroupId=" . $this->db->escape($vulnerability->getOsGroupId()) . ",\n      \tname=" . $this->db->escape($vulnerability->getName()) . ",\n      \tversion=" . $this->db->escape($vulnerability->getVersion()) . ",\n      \trelease=" . $this->db->escape($vulnerability->getRelease()) . ",\n      \tarch=" . $this->db->escape($vulnerability->getArch()));
     # Set the newly assigned id
     $vulnerability->setId($this->db->getLastInsertedId());
 }