We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71d06a3 commit 9f49ee0Copy full SHA for 9f49ee0
src/main/kotlin/com/codersee/springcoroutines/repository/CompanyRepository.kt
@@ -3,9 +3,7 @@ package com.codersee.springcoroutines.repository
3
import com.codersee.springcoroutines.model.Company
4
import kotlinx.coroutines.flow.Flow
5
import org.springframework.data.repository.kotlin.CoroutineCrudRepository
6
-import org.springframework.stereotype.Repository
7
8
-@Repository
9
interface CompanyRepository : CoroutineCrudRepository<Company, Long> {
10
fun findByNameContaining(name: String): Flow<Company>
11
}
0 commit comments