lundi 18 mai 2015

Special characters(< for < and > for >) are saved in sql server 2008

I am not able to store the xml element chars('<' and '>') in SQL server 2008 R2.

If I am trying to insert Name as (XYZ) from a java code(Hibernate ORM) persisting the value in SQL server, the value is getting stored as the database.:

&lt;value&gt;XYZ&lt;/value&gt;

Aucun commentaire:

Enregistrer un commentaire