package at.ac.tuwien.inso.repository;

import at.ac.tuwien.inso.entity.*;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.*;

import java.util.List;

public interface LecturerRepository extends CrudRepository<Lecturer, Long> {

    @Query("select l from Lecturer l where ACCOUNT_ID = ?1")
    Lecturer findLecturerByAccountId(Long id);

    public List<Lecturer> findAll();

    public Lecturer findById(Long id);
}

@@ -36,43 +36,8 @@
 y;%0A%0A
-import at.ac.tuwien.inso.entity.*;%0A
 impo
@@ -133,9 +133,22 @@
 ory.
-*
+CrudRepository
 ;%0A%0Ai
@@ -170,16 +170,59 @@
 .List;%0A%0A
+import at.ac.tuwien.inso.entity.Lecturer;%0A%0A
 public i

Fix codestyle for imports