JDBC中几种Statement的用法
时间:2017-06-21 23:59:05
收藏:0
阅读:404
1.Statement
View Code2.PrepareStatement
- 其一大好处是可以灵活指定sql语句中变量的值
View Code对比Statement中的带有变量的SQL语句,PrepareStatement更易用。
3.CallableStatement
- 调用存储过程
原文:http://www.cnblogs.com/lovechao/p/7062136.html
评论(0)