使用Java读取MS ADO XML [英] Read MS ADO XML using Java

查看:102
本文介绍了使用Java读取MS ADO XML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这就像询问可口可乐机器在百事可乐工厂的位置,但有没有办法用Java阅读MS ADO XML?



我去过自1998年以来,我一直坚持使用Visual Studio 6,因为我的公司拒绝升级到.NET,并且最近决定他们永远不会去,我们成了Java商店。我有一组传输文件,我用XML格式写的



I know it's like asking where the Coke machine is at the Pepsi factory but is there any way to read MS ADO XML using Java?

I've been stuck with Visual Studio 6 since 1998 because my company refused to upgrade to .NET and more recently decided they're never going to and we became a Java shop. I have a set of transmission files that I'm writing in XML format

Dim rstCycle As New ADODB.Recordset
rstCycle.CursorLocation = adUseClient
rstCycle.CursorType = adOpenStatic
rstCycle.LockType = adLockOptimistic
rstCycle.Open strSql, cnnSql

If rstCycle.RecordCount > 0 Then
   rstCycle.Save strOutFile, adPersistXML
End If





并使用ADO在服务器上阅读。



现在,我必须更新此功能,我唯一的开发环境是Java。有没有办法读取这些数据或者我是否需要重新设计传输文件?



感谢您的帮助。



PS Java新手。



and reading at the server using ADO.

Now, I have to update this functionality and the only development environment I have is Java. Is there any way to read that data or do I need to redesign the transmission files?

Thanks for any help.

P.S. Java newbie.

推荐答案

看看 https: //www.google.com/search?q=java+xml [ ^ ]。


这篇关于使用Java读取MS ADO XML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆