注释接口 EnableJimmerRepositories


  • 元素详细资料

    • value

      @AliasFor("basePackages") String[] value
      Alias for the basePackages() attribute. Allows for more concise annotation declarations e.g.: @EnableJimmerRepositories("org.my.pkg") instead of @EnableJimmerRepositories(basePackages="org.my.pkg").
      默认值:
      {}
    • basePackages

      @AliasFor("value") String[] basePackages
      Base packages to scan for annotated components. value() is an alias for (and mutually exclusive with) this attribute. Use basePackageClasses() for a type-safe alternative to String-based package names.
      默认值:
      {}
    • basePackageClasses

      Class<?>[] basePackageClasses
      Type-safe alternative to basePackages() for specifying the packages to scan for annotated components. The package of each class specified will be scanned. Consider creating a special no-op marker class or interface in each package that serves no purpose other than being referenced by this attribute.
      默认值:
      {}
    • includeFilters

      org.springframework.context.annotation.ComponentScan.Filter[] includeFilters
      默认值:
      {}
    • excludeFilters

      org.springframework.context.annotation.ComponentScan.Filter[] excludeFilters
      Specifies which types are not eligible for component scanning.
      默认值:
      {}
    • repositoryFactoryBeanClass

      Class<?> repositoryFactoryBeanClass
      Returns the FactoryBean class to be used for each repository instance. Defaults to JimmerRepositoryFactoryBean.
      默认值:
      org.babyfish.jimmer.spring.repository.support.JimmerRepositoryFactoryBean.class
    • sqlClientRef

      String sqlClientRef
      Configures the name of the JSqlClient/KSqlClient bean definition to be used to create repositories discovered through this annotation. Defaults to sqlClient.
      默认值:
      "sqlClient"
    • namedQueriesLocation

      @Deprecated(message="Jimmer does not need it, but spring data extension requires it") String namedQueriesLocation
      默认值:
      ""
    • repositoryImplementationPostfix

      @Deprecated(message="Jimmer does not need it, but spring data extension requires it") String repositoryImplementationPostfix
      默认值:
      "Impl"