Class MiniColumnMapRowMapper
java.lang.Object
org.jeecgframework.minidao.spring.rowMapper.MiniColumnMapRowMapper
public class MiniColumnMapRowMapper
extends Object
implements org.springframework.jdbc.core.RowMapper<Map<String,Object>>
使用小写的key 作为map的关键字
- Version:
- 1.0
- Author:
- JueYue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateColumnMap(int columnCount) protected StringgetColumnKey(String columnName) protected ObjectgetColumnValue(ResultSet rs, int index)
-
Constructor Details
-
MiniColumnMapRowMapper
public MiniColumnMapRowMapper()
-
-
Method Details
-
createColumnMap
-
getColumnKey
-
getColumnValue
- Throws:
SQLException
-
mapRow
- Specified by:
mapRowin interfaceorg.springframework.jdbc.core.RowMapper<Map<String,Object>> - Throws:
SQLException
-