Skip to content

Commit 3b4a873

Browse files
author
Rajeev Kumar Singh
committed
Added @repository annotation
1 parent e2ecdd0 commit 3b4a873

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/com/example/easynotes/repository/NoteRepository.java

+3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22

33
import com.example.easynotes.model.Note;
44
import org.springframework.data.jpa.repository.JpaRepository;
5+
import org.springframework.stereotype.Repository;
56

67
/**
78
* Created by rajeevkumarsingh on 27/06/17.
89
*/
10+
11+
@Repository
912
public interface NoteRepository extends JpaRepository<Note, Long> {
1013

1114
}

0 commit comments

Comments
 (0)