Annotation Interface JdbcRepository
@RepositoryConfiguration(queryBuilder=SqlQueryBuilder.class,
operations=JdbcRepositoryOperations.class,
implicitQueries=false,
namedParameters=false,
typeRoles=@TypeRole(role="sqlMappingFunction",type=SqlResultConsumer.class))
@Retention(RUNTIME)
@Target({ANNOTATION_TYPE,TYPE})
@Documented
@Repository
public @interface JdbcRepository
Stereotype repository that configures a
Repository
as a JdbcRepository
using
raw SQL encoding and JdbcRepositoryOperations
as the runtime engine.- Since:
- 1.0.0
- Author:
- graemerocher
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescription
-
Element Details
-
value
- Returns:
- The datasource name.
- Default:
- "default"
-
dataSource
- Returns:
- The datasource name.
- Default:
- "default"
-
dialect
- Returns:
- The dialect to use.
- Default:
- ANSI
-
dialectName
@AliasFor(annotation=Repository.class,member="dialect") @AliasFor(annotation=JdbcRepository.class,member="dialect") String dialectName- Returns:
- The dialect to use.
- Default:
- "ANSI"
-