Annotation Type One


  • @Documented
    @Retention(RUNTIME)
    @Target({})
    public @interface One
    The annotation that specify the nested statement for retrieving single object.
    Author:
    Clinton Begin
    See Also:
    Result, Results
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      FetchType fetchType
      Returns the fetch strategy for nested statement.
      java.lang.String select
      Returns the statement id that retrieves single object.
    • Element Detail

      • select

        java.lang.String select
        Returns the statement id that retrieves single object.
        Returns:
        the statement id
        Default:
        ""
      • fetchType

        FetchType fetchType
        Returns the fetch strategy for nested statement.
        Returns:
        the fetch strategy
        Default:
        org.apache.ibatis.mapping.FetchType.DEFAULT