Annotation Type ExcelQuery


@Documented @Retention(RUNTIME) @Target(TYPE) public @interface ExcelQuery
The Interface ExcelQuery.
ExcelQuery is used to get the list of rows directly from the database; this functionality works if the project is configured with spring-data-jpa and if one of the following properties is set:
  • spring.datasource.url
  • bld.commons.multiple.datasource
It is used on QuerySheetData classes.
The "entityManager" and "namedParameterJdbcTemplate" properties must be set only if there is a configuration enabled for multiple data sources.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Value.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Entity manager.
    boolean
    Native query.
  • Element Details

    • value

      String value
      Value.
      Returns:
      the string
    • nativeQuery

      boolean nativeQuery
      Native query.
      Returns:
      true, if successful
      Default:
      true
    • entityManager

      String entityManager
      Entity manager.
      Returns:
      the string
      Default:
      ""