title: Special characters(&lt; for < and &gt; for >) are saved in sql server 2008
body: <p>I am not able to store the xml element chars('&lt;' and '>') in SQL server 2008 R2.</p>
  
  <p>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.:</p>
  
  <pre><code>&amp;lt;value&amp;gt;XYZ&amp;lt;/value&amp;gt;
  </code></pre>