Annotation Type Repository

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String className
      The simple name of the generated repository; the repository is always generated in the same package as the annotated type.
      com.github.longdt.vertxorm.repository.SqlDialect dialect  
      Class<? extends com.github.longdt.vertxorm.repository.CrudRepository> extending
      The 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 with Impl appended to the end. For example, the default name for a factory for MyRepository will be MyRepositoryPostgres if dialect = SqlDialect.POSTGRES or MyRepositoryMysql if 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
      • dialect

        com.github.longdt.vertxorm.repository.SqlDialect dialect
        Default:
        com.github.longdt.vertxorm.repository.SqlDialect.POSTGRES