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

推荐订阅源

SecWiki News
SecWiki News
N
Netflix TechBlog - Medium
D
Docker
Stack Overflow Blog
Stack Overflow Blog
云风的 BLOG
云风的 BLOG
U
Unit 42
Recorded Future
Recorded Future
G
Google Developers Blog
T
Threatpost
Google DeepMind News
Google DeepMind News
D
DataBreaches.Net
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
The Blog of Author Tim Ferriss
C
Cyber Attacks, Cyber Crime and Cyber Security
A
Arctic Wolf
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
GbyAI
GbyAI
V
Vulnerabilities – Threatpost
Project Zero
Project Zero
WordPress大学
WordPress大学
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
M
MIT News - Artificial intelligence
月光博客
月光博客
Spread Privacy
Spread Privacy
Know Your Adversary
Know Your Adversary
人人都是产品经理
人人都是产品经理
D
Darknet – Hacking Tools, Hacker News & Cyber Security
The Hacker News
The Hacker News
K
Kaspersky official blog
Simon Willison's Weblog
Simon Willison's Weblog
MongoDB | Blog
MongoDB | Blog
J
Java Code Geeks
I
Intezer
Y
Y Combinator Blog
P
Proofpoint News Feed
G
GRAHAM CLULEY
L
LINUX DO - 热门话题
Schneier on Security
Schneier on Security
B
Blog
Jina AI
Jina AI
V2EX - 技术
V2EX - 技术
雷峰网
雷峰网
Last Week in AI
Last Week in AI
V
V2EX
Martin Fowler
Martin Fowler
P
Palo Alto Networks Blog
Latest news
Latest news
Google DeepMind News
Google DeepMind News
L
Lohrmann on Cybersecurity
The Last Watchdog
The Last Watchdog

博客园 - 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());

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