행 1에서 열 'SQL_stmt를'여기, 내가 10 개 요소 목록의 cutted 때 36 개 요소, 그것은 successed 된 한데이터 잘림 : 데이터가 너무 오래 여기
<insert id="insertAnnualKiln" parameterType="list">
insert into prm_annual_kiln (id,parent_id,runtime_kiln,runtimerate_kiln,shutdowntime_kiln,
shutdowndesc_kiln,heat_clinker,elect_clinker,equip_code,prod_clinker_type) VALUES
<foreach collection="list" item="item" separator=",">
(#{item.id},#{item.parentId},#{item.runtimeKiln},#{item.runtimerateKiln},
#{item.shutdowntimeKiln},#{item.shutdowndescKiln},#{item.heatClinker},#{item.electClinker}
,#{item.equipCode},#{item.prodClinkerType})
</foreach>
</insert>
목록 내 XML 코드 인 것입니다 오류.
### SQL: insert into prm_annual_kiln (id,parent_id,runtime_kiln,runtimerate_kiln,shutdowntime_kiln, shutdowndesc_kiln,heat_clinker,elect_clinker,equip_code,prod_clinker_type) VALUES (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?) , (?,?,?,?, ?,?,?,? ,?,?)
### Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'sql_stmt' at row 1
; SQL []; Data truncation: Data too long for column 'sql_stmt' at row 1; nested exception is com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'sql_stmt' at row 1
어떨까요? 문제는 열 크기보다 데이터를 삽입하려고하는 것입니다. – Balasubramanian