Package org.apache.ibatis.annotations
Annotation Type Many
-
@Documented @Retention(RUNTIME) @Target({}) public @interface Many
The annotation that specify the nested statement for retrieving collections.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
columnPrefix
Returns the columnPrefix.FetchType
fetchType
Returns the fetch strategy for nested statement.String
resultMap
Returns the result map id used to map collection.String
select
Returns the statement id that retrieves collection.
-
-
-
Element Detail
-
columnPrefix
String columnPrefix
Returns the columnPrefix.- Returns:
- the columnPrefix.
- Since:
- 3.5.5
- Default:
- ""
-
-
-
resultMap
String resultMap
Returns the result map id used to map collection.- Returns:
- the result map id
- Since:
- 3.5.5
- Default:
- ""
-
-
-
select
String select
Returns the statement id that retrieves collection.- 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
-
-