由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - MS SQL Server JDBC Driver Problem
相关主题
Re: Need help with EJB请教高手一个JDBC的问题!
使用Clob的setString方法出现如下错误我只能抗议OracleJDBC了!: 请教一个关于JDBC的问题,实在太烦了!
Weblogic 8.1又一个问题---应该是有关JDBC的HELP! SQL Server vs JDBC question
JAVA J2EE 工作的技能要求Re: SQL Server 2000 Driver for JDBC - Er
DC hot start-up 招 JAVA engineer (sponsor h1b, green-card)JDBC如何获取新加入的记录的索引
JDBC or SQL-C?a question regarding JDBC driver?
真诚求助 (JAVA校友录)改写(migrate) stored proc 问题
JDBC & FirewallHibernate question
相关话题的讨论汇总
话题: 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版参与讨论
相关主题
Hibernate questionDC hot start-up 招 JAVA engineer (sponsor h1b, green-card)
oracle help: pass array to oracle SPJDBC or SQL-C?
哪里用NoSQL比较合适?真诚求助 (JAVA校友录)
请问JDBC连SQL server的connect reset问题如何解决? (转载)JDBC & Firewall
Re: Need help with EJB请教高手一个JDBC的问题!
使用Clob的setString方法出现如下错误我只能抗议OracleJDBC了!: 请教一个关于JDBC的问题,实在太烦了!
Weblogic 8.1又一个问题---应该是有关JDBC的HELP! SQL Server vs JDBC question
JAVA J2EE 工作的技能要求Re: SQL Server 2000 Driver for JDBC - Er
相关话题的讨论汇总
话题: sql话题: server话题: ms话题: jdbc话题: driver