Annotation Type Repository
-
@Retention(RUNTIME) @Target(TYPE) public @interface Repository
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringclassNameThe simple name of the generated repository; the repository is always generated in the same package as the annotated type.com.github.longdt.vertxorm.repository.SqlDialectdialectClass<? extends com.github.longdt.vertxorm.repository.CrudRepository>extendingThe type that the generated repository is require to extend.
-
-
-
Element Detail
-
className
String className
The simple name of the generated repository; the repository is always generated in the same package as the annotated type. The default value (the empty string) will result in a factory with the name of the type being created withImplappended to the end. For example, the default name for a factory forMyRepositorywill beMyRepositoryPostgresif dialect =SqlDialect.POSTGRESorMyRepositoryMysqlif dialect =SqlDialect.MYSQL.- Default:
- ""
-
-
-
extending
Class<? extends com.github.longdt.vertxorm.repository.CrudRepository> extending
The type that the generated repository is require to extend.- Default:
- com.github.longdt.vertxorm.repository.CrudRepository.class
-
-