diff options
Diffstat (limited to 'src/main/java/com/juick/data/MessagesRepository.java')
-rw-r--r-- | src/main/java/com/juick/data/MessagesRepository.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/juick/data/MessagesRepository.java b/src/main/java/com/juick/data/MessagesRepository.java index 8207ffcb..7f42c454 100644 --- a/src/main/java/com/juick/data/MessagesRepository.java +++ b/src/main/java/com/juick/data/MessagesRepository.java @@ -18,7 +18,7 @@ package com.juick.data; import com.juick.data.entities.MessageEntity; -import org.springframework.data.repository.PagingAndSortingRepository; +import org.springframework.data.jpa.repository.JpaRepository; -public interface MessagesRepository extends PagingAndSortingRepository<MessageEntity, String> { +public interface MessagesRepository extends JpaRepository<MessageEntity, Integer> { } |