这个spring类BatchPreparedStatementSetter有什么用? [英] What is the use of this spring class BatchPreparedStatementSetter?

查看:63
本文介绍了这个spring类BatchPreparedStatementSetter有什么用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能简单介绍一下他的春季课

Can anyone give me short description about his spring class

org.springframework.jdbc.core.BatchPreparedStatementSetter

(JavaDoc API 链接)

推荐答案

用于一次批量插入多行.

It's used for bulk insertion of many rows at once.

这段代码将说明它是如何使用的.

This code will illustrate how it's used.

好好看看 importEmployees 方法,一切都应该清楚了.

Take a good look at importEmployees method, and everything should become clear.

这篇关于这个spring类BatchPreparedStatementSetter有什么用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆