04 2013 档案
J2EE操作Oracle的clob类型字段
摘要:1.插入和更新插入一条数据,注意CLOB字段,需要先插入一个空的clob类型 empty_clob(),然后再单独更新clob字段在插入到更新之间一定要将自动提交设为false,否则,再次查找时就不能正确更新,查找时一定要用select XXX from table where ... for update 如果不加for update会报:“row containing the LOB value is not locked”;如果在插入前没有将自动提交设为false会报 “fetch out of sequence”。String sql = "insert into User_ 阅读全文
posted @ 2013-04-17 16:38 饭菜糖衣 阅读(237) 评论(0) 推荐(0)
spring3 Web项目所需Jar包
摘要:这里是一个简单能在web中实现最基本的依赖注入所需的jar包:org.springframework.asm-3.0.5.RELEASE.jarorg.springframework.beans-3.0.5.RELEASE.jarorg.springframework.context-3.0.5.RELEASE.jarorg.springframework.core-3.0.5.RELEASE.jarorg.springframework.expression-3.0.5.RELEASE.jarorg.springframework.web-3.0.5.RELEASE.jarcommons-l 阅读全文
posted @ 2013-04-16 10:14 饭菜糖衣 阅读(541) 评论(0) 推荐(0)
Subversion 安装
摘要:服务端的安装Subversion安装1.网上下载软件安装http://subversion.apache.org/2.创建REPOSITORY自己创建文件夹比如(D:\svnRoot),在命令行打命令svnadmin create D:\svnRoot完成版本文件的建立3.配置用户和权限在建立的svnRoot下的conf目录中打开svnserver.conf删除下面行的#号注释anon-access = none # 使非授权用户无法访问auth-access = write # 使授权用户有写权限password-db = passwd # 指明密码文件路径authz-db = authz 阅读全文
posted @ 2013-04-12 13:33 饭菜糖衣 阅读(176) 评论(0) 推荐(0)