Annotation Interface NonDBOperation


@Retention(RUNTIME) @Target(METHOD) public @interface NonDBOperation
Annotated methods in Dao for:
  • No Handler is applied to non-db Operation
  • No sql/performance log is applied to non-db Operation
  • No Transaction annotation is applied to non-db Operation

  • By default, targetEntityClass/dataSource/sqlMapper/executor/asyncExecutor/prepareQuery/prepareNamedQuery/prepareCallableQuery methods in Dao are annotated with NonDBOperation.

    Author:
    haiyangl