Annotation Interface DAO


@Target(TYPE) @Retention(RUNTIME) public @interface DAO
DAO must annotate an interface. A DAOProvider and DAO implementation will be generated. A DAO interface must contain at least one method annotated with one of the Sql annotations.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • dataSourceName

      String dataSourceName
      Default:
      "default"