开发者

Save result of XSQL query to a file in Java

开发者 https://www.devze.com 2023-03-27 17:08 出处:网络
I want to Save result of开发者_如何学运维 an XSQL query to a file using Java. Does any one know a way to do this?The Oracle document on Using XSQL in Java Programs has instructions on how to call an

I want to Save result of开发者_如何学运维 an XSQL query to a file using Java.

Does any one know a way to do this?


The Oracle document on Using XSQL in Java Programs has instructions on how to call an XSQL from Java and get the result as an XMLDocument or send it to a PrintWriter or OutputStream. There's a short example program there that sends the result to System.out, but it could be easily modified to send it to a file.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号