Package org.apache.ibatis.annotations

Contains all the annotation that are used in mapper interfaces.
  • Enum Summary
    Enum Description
    Options.FlushCachePolicy
    The options for the Options.flushCache().
  • Annotation Types Summary
    Annotation Type Description
    Arg
    The annotation that specify a mapping definition for the constructor argument.
    AutomapConstructor
    The marker annotation that indicate a constructor for automatic mapping.
    CacheNamespace
    The annotation that specify to use cache on namespace(e.g.
    CacheNamespaceRef
    The annotation that reference a cache.
    Case
    The annotation that conditional mapping definition for TypeDiscriminator.
    ConstructorArgs
    The annotation that be grouping mapping definitions for constructor.
    Delete
    The annotation that specify an SQL for deleting record(s).
    Delete.List
    The container annotation for Delete.
    DeleteProvider
    The annotation that specify a method that provide an SQL for deleting record(s).
    DeleteProvider.List
    The container annotation for DeleteProvider.
    Flush
    The maker annotation that invoke a flush statements via Mapper interface.
    Insert
    The annotation that specify an SQL for inserting record(s).
    Insert.List
    The container annotation for Insert.
    InsertProvider
    The annotation that specify a method that provide an SQL for inserting record(s).
    InsertProvider.List
    The container annotation for InsertProvider.
    Lang
    The annotation that specify a LanguageDriver to use.
    Many
    The annotation that specify the nested statement for retrieving collections.
    MapKey
    The annotation that specify the property name(or column name) for a key value of Map.
    Mapper
    Marker interface for MyBatis mappers.
    One
    The annotation that specify the nested statement for retrieving single object.
    Options
    The annotation that specify options for customizing default behaviors.
    Options.List
    The container annotation for Options.
    Param
    The annotation that specify the parameter name.
    Property
    The annotation that inject a property value.
    Result
    The annotation that specify a mapping definition for the property.
    ResultMap
    The annotation that specify result map names to use.
    Results
    The annotation that be grouping mapping definitions for property.
    ResultType
    This annotation can be used when a @Select method is using a ResultHandler.
    Select
    The annotation that specify an SQL for retrieving record(s).
    Select.List
    The container annotation for Select.
    SelectKey
    The annotation that specify an SQL for retrieving a key value.
    SelectKey.List
    The container annotation for SelectKey.
    SelectProvider
    The annotation that specify a method that provide an SQL for retrieving record(s).
    SelectProvider.List
    The container annotation for SelectProvider.
    TypeDiscriminator
    The annotation that be grouping conditional mapping definitions.
    Update
    The annotation that specify an SQL for updating record(s).
    Update.List
    The container annotation for Update.
    UpdateProvider
    The annotation that specify a method that provide an SQL for updating record(s).
    UpdateProvider.List
    The container annotation for UpdateProvider.