Package org.apache.ibatis.annotations
Contains all the annotation that are used in mapper interfaces
-
Enum Summary Enum Description Options.FlushCachePolicy The options for theOptions.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 forTypeDiscriminator
.ConstructorArgs The annotation that be grouping mapping definitions for constructor.Delete The annotation that specify an SQL for deleting record(s).DeleteProvider The annotation that specify a method that provide an SQL for deleting record(s).Flush The maker annotation that invoke a flush statements via Mapper interface.Insert The annotation that specify an SQL for inserting record(s).InsertProvider The annotation that specify a method that provide an SQL for inserting record(s).Lang The annotation that specify aLanguageDriver
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 ofMap
.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.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).SelectKey The annotation that specify an SQL for retrieving a key value.SelectProvider The annotation that specify a method that provide an SQL for retrieving record(s).TypeDiscriminator The annotation that be grouping conditional mapping definitions.Update The annotation that specify an SQL for updating record(s).UpdateProvider The annotation that specify a method that provide an SQL for updating record(s).