<selectKey resultClass="int" type="post" keyProperty="id" > 
         select @@IDENTITY as id
        </selectKey>  在xml的 <insert> </insert> 中 添加如上配置, 抛如下异常..com.ibatis.common.beans.ProbeException: Could not set property 'id' for sp.manage.entity.Manager.  Cause: java.lang.IllegalArgumentException