在oracle中保存HTML数据的最佳方法是什么? [英] What is the best way to save HTML data in oracle?

查看:93
本文介绍了在oracle中保存HTML数据的最佳方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个有多种方法的网络服务。其中一种方法应该向我们的客户发送消息。这些消息应存储在我们的oracle数据库中,因此移动应用程序开发人员会检索这些数据并在应用程序的弹出窗口中显示。

存储此数据的最佳方法是什么?换句话说:应该选择哪种类型来存储我的html数据?



我尝试了什么:



我在我的webservice调用的表中添加了一些数据,但是在设备上,这些数据显示为:...

解决方案

< blockquote>正如评论中所提到的,只需确保db中的字段足以将数据存储为字符串。然后,无论什么应用程序显示数据库中的数据,都会显示html数据。


I have a webservice with multiple methods. one of those methods should send messages to our clients. Those messages should be stored in our oracle database, so the mobile app developper retreives these data and displayed in a popup in the application.
What is the best way to store this data? in other words: which type should be chosen to stor my html data?

What I have tried:

I added some data in a table called by my webservice, but on devices this data is displayed as it is: ...

解决方案

As mentioned in comments, just make sure the field in the db is big enough to store the data as string. Presentation of the html data is then done by whatever app is showing the data from your db.


这篇关于在oracle中保存HTML数据的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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