惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
WordPress大学
WordPress大学
小众软件
小众软件
The Register - Security
The Register - Security
量子位
博客园_首页
T
The Blog of Author Tim Ferriss
T
Threat Research - Cisco Blogs
G
Google Developers Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
N
News and Events Feed by Topic
S
Security Affairs
O
OpenAI News
Google DeepMind News
Google DeepMind News
Webroot Blog
Webroot Blog
The Cloudflare Blog
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell
IT之家
IT之家
Recent Commits to openclaw:main
Recent Commits to openclaw:main
V2EX - 技术
V2EX - 技术
S
Secure Thoughts
D
Docker
Cloudbric
Cloudbric
Vercel News
Vercel News
MongoDB | Blog
MongoDB | Blog
T
Troy Hunt's Blog
Blog — PlanetScale
Blog — PlanetScale
H
Hackread – Cybersecurity News, Data Breaches, AI and More
N
News and Events Feed by Topic
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
Schneier on Security
Schneier on Security
Jina AI
Jina AI
Stack Overflow Blog
Stack Overflow Blog
T
Threatpost
D
DataBreaches.Net
Spread Privacy
Spread Privacy
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Security Archives - TechRepublic
Security Archives - TechRepublic
T
Tor Project blog
P
Privacy & Cybersecurity Law Blog
T
Tenable Blog
V
Vulnerabilities – Threatpost
B
Blog RSS Feed
C
Cisco Blogs
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
F
Fortinet All Blogs
The Hacker News
The Hacker News
Know Your Adversary
Know Your Adversary

博客园 - dekn

如果做几十年的技术,不写点心得,是不是有点儿白瞎 如何修改tomcat内存大小 myeclipse中配置weblogic 9运行环境 奇怪的JAVA字符集问题 让你的WEB程序同时支持FF与IE浏览器,经验积累 weblogic在处理jsp tag的scope属性时的BUG??? - dekn - 博客园 解决tomcat里中文文件无法正常下载 解决tomcat中rar、excel格式文件在下载时直接以乱码打开 Tomcat中文问题小经验 test AJAX注意事项 WSAD与WebSphere中一步步配置JNDI 基于 Windows Mobile 的 Pocket PC 和 Smartphone 的开发工具简介 Windows CE .NET 应用程序开发:我有哪些选择? 开发 Windows Mobile 应用程序: FAQ 一天一个管理小故事 之二 《鲶鱼效应 》 一天一个管理小故事 之一 且慢下手 [原创]理解JNDI中 java:comp/env/jdbc/datasource 与 jdbc/datasource 的不同之处。 [详解]Linux的目录里都装些啥??
解决无法向oracle中的long型字符插入大文本的问题
dekn · 2007-03-01 · via 博客园 - dekn

在cms4j中,当环境为oracle9i时,发现无法向content中插入大篇的文章内容,content的字段为LONG型,通过查阅资料,发现网站很多人这样询问,但总是没有一个明确的答案,要么是多次插入,要么是换成BLOB或者CBLOB,但这2个都很麻烦,后来看到有人说oracle 10g中的 ojdbc14.jar 这个新的jdbc驱动解决了向blob或clob中插入信息困难的问题,使得向其插入数据如setString一样简单,然后找来 ojdbc14.jar 试了一下,使用下面的方法,成功的向LONG型字段插入大文本

stmt.setCharacterStream(2,new StringReader(articleVO.getCONTENT().toString()),articleVO.getCONTENT().length());

暂时还未发现有什么问题。