av aakarsh nair för 17 årar sedan
506
Mer av detta
used to map result ma p property to java bean method
typeHandler
or com.ibatis.sqlmap.client.extensions.TypeHandlerCallback interface
implements com.ibatis.sqlmap.engine.type.TypeHandler
override ibatis type handler
used to specify custom types
resultMap
1:N requires a group by property
This sounds interesting how is this done ?
can specify 1:1 and 1:N relationships
descibe nested result map that can be resued
select
column must support primitve property type
Must be name of mapped statement
describe rel between obj and complex property
nullValue
value for nullabe object types
javaType
Used for Map and xml mapping types
explicitly specify java property type
jdbcType
for things like date where ??
columnIndex
optional/ minimal performance improvement
column
name of column in result set
property
name of java bean property
used to identify unique rows
list of resutl map properties
super properties always inserted before sub
used as base result Map
Name of another result map
or
fully qualified name of class
type alias
Subtopic