Annotation Type SqlQuery

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String value
      The query (or query name if using a statement locator) to be executed.
    • Element Detail

      • value

        String value
        The query (or query name if using a statement locator) to be executed. If no value is specified, the value will be the method name of the method being annotated. This is only useful in conjunction with a statement locator.
        Returns:
        the SQL string (or name)
        Default:
        ""