Spring、Hibernate、Struts

  BlogJava :: 首页 :: 联系 :: 聚合  :: 管理
  11 Posts :: 0 Stories :: 6 Comments :: 0 Trackbacks

JdbcTemplate 中execute和update的区别:

     execute不接受参数,无返回值,适用于create和drop table。

    update可以接受参数,返回值为此次操作影响的记录数,适合于insert, update, 和delete等操作。


posted on 2005-10-14 11:12 ahgf 阅读(1165) 评论(0)  编辑  收藏 所属分类: Spring

只有注册用户登录后才能发表评论。


网站导航: