Midrash Tanchuma, Bereshit (Genesis) 7, the emperor Hadrian is specifically referred to as "the king of Edom" (הדריאנוס מלך אדום).
Context: The Midrash (Bereshit 7:1) recounts a story of Hadrian passing an elderly Jewish man planting a fig tree. Hadrian questions why an old man is laboring for fruit he might not eat, to which the man replies that he plants for his children, or for himself if he lives long enough.
Hadrian as "King of Edom": The text refers to him by this title in the context of him returning from a 3-year mission (often identified with the Bar Kokhba revolt) having destroyed the Temple and enslaved Israel.
Rabbinic Identification: In Rabbinic literature, "Edom" is frequently used as a metaphor for the Roman Empire, and by extension, Hadrian is identified as the archetypal wicked Roman ruler representing Esau/Edom.
The text describes his return to Rome, where he boasts to his courtiers: "After Hadrian, the king of Edom, conquered the entire world, he returned to Rome and told his courtiers: 'I command you to acclaim me a divine being, for I have subjugated the entire world'"
The Midrash Tanchuma (including sections on Bereshit/Genesis) is generally dated by scholars to the late Talmudic or early Geonic period, roughly between 400 and 800 CE.
While attributed to Rabbi Tanchuma bar Abba (4th century), the compilation in its current form emerged later, with specific passages often having complex, evolving histories.
Tanchuma Buber: The version published by Solomon Buber, based on unique manuscripts, is thought by some to contain earlier elements, though its definitive dating remains debated.
Composition Style: It is a homiletical Midrash, structured as sermons on the weekly Torah portion.
Context: It is distinct from Genesis Rabbah, another major commentary on Genesis created around 400 CE
Genesis Rabbah, a 5th-century rabbinic commentary on Genesis, uses the Roman Emperor Hadrian as a symbolic archetype of Rome's brutality and pride against Israel. He is frequently mentioned in debates with sages (e.g., Rabbi Yehoshua) and represents the "hands of Esau," specifically linked to the devastation following the Bar Kokhba revolt.
Key Hadrian References in Genesis Rabbah:
The Proud Ruler: Hadrian is identified alongside Solomon as one of the "proudest" figures, symbolizing the "hands of Esau" (Bereshit Rabbah 63:6).
The Destruction of Beitar: He is identified as the tyrant who committed massacres, with midrashic tradition mentioning he killed massive numbers in Alexandria.
Debates with Sages: Bereshit Rabbah 28:8 describes debates between Hadrian and Rabbi Yehoshua ben Ḥananya concerning resurrection and creation, where the sage mocks the emperor's ignorance.
The Temptation to Rebuild the Temple: Some narratives in the collection (specifically referencing ch. 64) touch upon the complex, shifting relationship, including the brief period where Hadrian appeared to allow the Temple to be rebuilt.
Genesis Rabbah treats Hadrian as a historical figure representing the ultimate enemy in the narrative of exile and redemption