mybatis中允许传入空值的设置

<insert id="saveResponseApplication" parameterType="com.asiainfo.modules.pas.bean.ApplicationBean">
        insert into application
        values
            (#{applicationId},
            '',
            #{applicationType},
            #{applicant},
            #{agent},
            #{processId},
                #{createTime,jdbcType=DATE},
                
            #{creater},
            #{updateTime},
            #{updater},
            #{startDate},
            #{endDate},
            #{status},
            #{applicationFormType})
    insert>

你可能感兴趣的:(数据库,mybatis,java)