Annotation Interface Repository


@Target(TYPE) @Retention(RUNTIME) public @interface Repository
Русский: Аннотация указывает что интерфейс является репозиторием и отвечает за взаимодействие с базой данных.
English: The annotation indicates that the interface is a repository and is responsible for interacting with the database.

Пример / Example:
 
 @Repository
 public interface MyRepository extends JdbcRepository {

 }
 
 
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    ru.tinkoff.kora.common.Tag
     
  • Element Details

    • executorTag

      ru.tinkoff.kora.common.Tag executorTag
      Returns:
      Русский: Указывает тег для набора соединений на котором будут запускаться запросы в базу данных.
      English: The annotation indicates that the interface is a repository and is responsible for interacting with the database.
      Default:
      @ru.tinkoff.kora.common.Tag({})