Annotation Interface SqlLogEnabled


@Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface SqlLogEnabled
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Those conditions(by contains ignore case or regular expression match) will be joined by OR, not AND.
    int
     
    boolean
     
  • Element Details

    • value

      boolean value
      Default:
      true
    • maxSqlLogLength

      int maxSqlLogLength
      Default:
      1024
    • filter

      String[] filter
      Those conditions(by contains ignore case or regular expression match) will be joined by OR, not AND. It's only applied if target of annotation SqlLogEnabled is Type, and will be ignored if target is method.
      Returns:
      Default:
      {".*"}