Ondřejovice was formerly part of the German Empire. In the German Empire, the place was called Endersdorf.
The place is now called Ondřejovice and belongs to Czech Republic.
| Historical place name | Country | Administration | Time |
|---|---|---|---|
| Endersdorf | Austro-Hungary | Freiwaldau | before the Treaty of Saint-Germain |
| Ondřejovice | Austro-Hungary | Freiwaldau | before the Treaty of Saint-Germain |
| Andrzejowice | Austro-Hungary | Freiwaldau | before the Treaty of Saint-Germain |
| Ondřejovice | Czechoslovakia | Frývaldov | after the Treaty of Saint-Germain |
| Endersdorf | Czechoslovakia | Frývaldov | after the Treaty of Saint-Germain |
| Endersdorf | German Empire | Freiwaldau | 1938 |
| Ondřejovice | Czechoslovakia | Jeseník | 1945 |
| Ondřejovice | Czechoslovakia | Bruntál | 1992 |
| Ondřejovice | Czech Republic | Bruntál | 1993 |