是否有可能使用 SQLXMLBulkload
使用Java的SQL Server组件?我使用SQL Server 2005数据库为我的Java EE应用程序。
Is it possible to use the SQLXMLBulkload
component of SQL Server using Java? I am using SQL Server 2005 database for my Java EE application.
如果没有的话是有Java的任何类似的API?
If not then is there any similar API for Java?
最后,我发现有这样做没有很好的方式。坚持以XML的关系型数据库仍然是一个挑战。 对于我的项目,我结束了编组XML到Java,然后坚持Java对象分贝的Hiberante的帮助: 据我所知,性能是一个大问题,这种方法但我没有打任何性能问题呢。另外这种做法给我的灵活性例如保存属性值在单独的列等。
Ultimately I found out that there is no nice way of doing it. Persisting XML to Relation database is still a challenge. For my project I end up marshaling XML to Java and then persisted Java objects to DB with the help of Hiberante: I understand that performance is a big concern with this approach but I didn't hit any performance issue yet. Plus this approach give me flexibility for example saving attribute values in separate columns etc.
上一篇:无法启动调试基于Visual Studio(2003年)的旧版本在Windows 7无法启动、旧版本、Visual、Studio
下一篇:隐式转换失败MyClass的< T>当T的IEnumerable< U>隐式、MyClass、LT、GT