Annotation Interface LazySQLSelect


@Documented @Target(METHOD) @Retention(SOURCE) public @interface LazySQLSelect
Author:
Thomas Oster (mail@thomas-oster.de)
  • Element Details

    • returns

      String[] returns
      Default:
      {""}
    • params

      String[] params
      Default:
      {""}
    • fetchSize

      int fetchSize
      If greater than 0 sets the fetch size
      Returns:
      Default:
      0
    • returnClassName

      String returnClassName
      If set, this class will be generated as return type. If it exists or is generated by other methods also, it's properties will be checked to match. If its not set, a default name will be created as package.CurrentClassLazyDb.Result
      Returns:
      Default:
      ""
    • doNotGenerateClass

      boolean doNotGenerateClass
      If set, this class will not be generated. Useful for manually created classes until we find a better solution
      Returns:
      Default:
      false
    • dynamicWhereClause

      boolean dynamicWhereClause
      Default:
      false
    • useObjectAsInput

      boolean useObjectAsInput
      Default:
      false
    • returnFirstOrNull

      boolean returnFirstOrNull
      If set, the mehtod will not return a list, but the first result or nothing
      Returns:
      Default:
      false
    • methodName

      String methodName
      Default:
      ""