diff --git a/core/src/main/java/cz/muni/fi/pa165/core/data/repository/country/CountryRepository.java b/core/src/main/java/cz/muni/fi/pa165/core/data/repository/country/CountryRepository.java
new file mode 100644
index 0000000000000000000000000000000000000000..011541c54631c02a8c9f2bd5af7bc3b41b49eb5f
--- /dev/null
+++ b/core/src/main/java/cz/muni/fi/pa165/core/data/repository/country/CountryRepository.java
@@ -0,0 +1,16 @@
+package cz.muni.fi.pa165.core.data.repository.country;
+
+import cz.muni.fi.pa165.core.data.domain.Country;
+import cz.muni.fi.pa165.core.data.repository.common.BaseRepository;
+import org.springframework.data.jpa.repository.Query;
+import org.springframework.data.repository.query.Param;
+import org.springframework.stereotype.Repository;
+
+import java.util.Optional;
+
+@Repository
+public interface CountryRepository extends BaseRepository<Country, Long> {
+
+    @Query("SELECT c FROM Country c WHERE c.name = :name")
+    Optional<Country> findByName(@Param("name") String name);
+}