Package com.ibatis.sqlmap.engine.config
Class ResultMapConfig
java.lang.Object
com.ibatis.sqlmap.engine.config.ResultMapConfig
The Class ResultMapConfig.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDiscriminatorSubMap
(Object value, String resultMap) Adds the discriminator sub map.void
addResultMapping
(String propertyName, String columnName, Integer columnIndex, Class javaClass, String jdbcType, String nullValue, String notNullColumn, String statementName, String resultMapName, Object impl) Adds the result mapping.void
setDiscriminator
(String columnName, Integer columnIndex, Class javaClass, String jdbcType, String nullValue, Object typeHandlerImpl) Sets the discriminator.
-
Method Details
-
setDiscriminator
public void setDiscriminator(String columnName, Integer columnIndex, Class javaClass, String jdbcType, String nullValue, Object typeHandlerImpl) Sets the discriminator.- Parameters:
columnName
- the column namecolumnIndex
- the column indexjavaClass
- the java classjdbcType
- the jdbc typenullValue
- the null valuetypeHandlerImpl
- the type handler impl
-
addDiscriminatorSubMap
Adds the discriminator sub map.- Parameters:
value
- the valueresultMap
- the result map
-
addResultMapping
public void addResultMapping(String propertyName, String columnName, Integer columnIndex, Class javaClass, String jdbcType, String nullValue, String notNullColumn, String statementName, String resultMapName, Object impl) Adds the result mapping.- Parameters:
propertyName
- the property namecolumnName
- the column namecolumnIndex
- the column indexjavaClass
- the java classjdbcType
- the jdbc typenullValue
- the null valuenotNullColumn
- the not null columnstatementName
- the statement nameresultMapName
- the result map nameimpl
- the impl
-