开发者

Convert xml data into binary data

开发者 https://www.devze.com 2023-02-09 22:35 出处:网络
How can i save xml data into binary field of data base tab开发者_开发百科le?Do you need to reencode is as binary data? You should be able to save the XML data directly as raw data in the binary field.

How can i save xml data into binary field of data base tab开发者_开发百科le?


Do you need to reencode is as binary data? You should be able to save the XML data directly as raw data in the binary field. You'll have remember what character encoding you used when reloading the value if you're using a non-ascii character set.


For Java, you could convert XML to fast infoset. Glasfish has a subproject to do so.

Then it's just a matter of loading the result into a BLOB.

0

精彩评论

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

关注公众号