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.DriverdriverClass<? extends com.github.longdt.vertxorm.repository.CrudRepository>extendingThe type that the generated repository is require to extend.NamingStrategynamingStrategy
-
-
-
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 beMyRepositoryImpl.- 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
-
-
-
driver
Driver driver
- Default:
- com.github.longdt.vertxorm.annotation.Driver.POSTGRESQL
-
-
-
namingStrategy
NamingStrategy namingStrategy
- Default:
- com.github.longdt.vertxorm.annotation.NamingStrategy.SNAKE_CASE
-
-