idea-mini-ibatis
idea-mini-ibatis copied to clipboard
Auto-generate ResultMap body
Would be really cool if I could write smth like:
<resultMap id="x" type="com.example.x">
</resultMap>
click Alt-Ins, select "results based on type"
and resultMap would get filled like
<resultMap id="x" type="com.example.x">
<result property="prop1" column=""/>
<result property="prop2" column=""/>
<result property="prop3" column=""/>
</resultMap>
hope to implement it one day ) if anyone gets to it first - no problem at all !!