plaincopy
"insertBatch" parameterType="ArrayList" useGeneratedKeys="true">
"deptno" order="BEFORE" resultType="int">
SELECT S_FORUM_USERID.NEXTVAL FROM DUAL
INSERT INTO DEPT(DEPTNO , DNAME , LOC) SELECT S_FORUM_USERID.NEXTVAL , A.* FROM (
"list" item="item" index="index" separator="UNION">
SELECT #{item.dname} , #{item.loc} FROM DUAL
) A
上一篇:在tomcat下context.xml中如何配置各种数据库连接池
下一篇:springboot怎么以FTP方式上传文件到远程服务器