Annotation Type Query


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface Query
    The annotation indicates that the method performs a SELECTION query the method signature must be MyObject/List of MyObject "methodName"(Connection, Object) be aware that if the return type was a single object and the query returns a list then the method will return the first object from the selected rows
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value  
    • Element Detail

      • value

        java.lang.String value