boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - MS SQL Server JDBC Driver Problem
相关主题
Re: Need help with EJB
使用Clob的setString方法出现如下错误
Weblogic 8.1又一个问题---应该是有关JDBC的
JAVA J2EE 工作的技能要求
DC hot start-up 招 JAVA engineer (sponsor h1b, green-card)
JDBC or SQL-C?
真诚求助 (JAVA校友录)
JDBC & Firewall
请教高手一个JDBC的问题!
我只能抗议OracleJDBC了!: 请教一个关于JDBC的问题,实在太烦了!
相关话题的讨论汇总
话题: sql话题: server话题: ms话题: jdbc话题: driver
进入Java版参与讨论
1 (共1页)
p***n
发帖数: 635
1
I am using MS SQL SERVER JDBC DRIVER under Weblogic 7 to call an MS SQL Server
stored procedure. The stored procedure returns a xml string like this:

...
...
...

so far so good.
the problem comes up when there is some characters like "'" is contained in
the string, e.g.,
Let's go and have fun
Then the SP call returns some funky character which XALAN is not able to
parse.
Tried to execute the SP from SQL Server client and the result returned is
fine.
A
st
发帖数: 1685
2
wrap it with CDATA block or encode it with XML encoding(I prefer first way)

【在 p***n 的大作中提到】
: I am using MS SQL SERVER JDBC DRIVER under Weblogic 7 to call an MS SQL Server
: stored procedure. The stored procedure returns a xml string like this:
:
: ...
: ...
: ...
:

: so far so good.
: the problem comes up when there is some characters like "'" is contained in
: the string, e.g.,

1 (共1页)
进入Java版参与讨论
相关主题
我只能抗议OracleJDBC了!: 请教一个关于JDBC的问题,实在太烦了!
HELP! SQL Server vs JDBC question
Re: SQL Server 2000 Driver for JDBC - Er
JDBC如何获取新加入的记录的索引
a question regarding JDBC driver?
改写(migrate) stored proc 问题
Hibernate question
oracle help: pass array to oracle SP
哪里用NoSQL比较合适?
请问JDBC连SQL server的connect reset问题如何解决? (转载)
相关话题的讨论汇总
话题: sql话题: server话题: ms话题: jdbc话题: driver