
Spring
iteye_18745
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Spring 执行多条更新语句
SpringJDBC的更新多条的操作,返回的是一个int类型的数组; [code="java"] jdbcTemplate.batchUpdate(new String[] { "update customer set first_name = 'FN#'", "delete from customer where id > 2" }); [/code] 定...原创 2011-06-21 15:54:08 · 263 阅读 · 0 评论 -
BoneCP使用配置
官方网站介绍的关于BoneCP [code="java"] BoneCP is a fast, free, open-source, Java database connection pool (JDBC Pool) library. If you are familiar with C3P0 and DBCP then you already know what this means. Fo...原创 2012-01-06 13:54:05 · 133 阅读 · 0 评论 -
Spring JDBC处理Blob字段(文件上传)
Lob字段包括Blob和Clob字段两种,Blob指的是二进制文件例如图片文件,Clob字段指的是文本文件。 //upload file to database [code="java"] private LobHandler lobHandler; public LobHandler getLobHandler() { return lobHandler; } ...原创 2012-03-08 11:28:29 · 497 阅读 · 0 评论 -
springjdbc 调用oracle函数返回对象
[code="java"] public String AgentCanJs(int agentId,final String date) { final String sqlString = " { ?=call fun_power_js_check(?)}"; return this.getJdbcTemplate().execute(new ConnectionCal...2013-09-25 23:50:28 · 306 阅读 · 0 评论