title: Hibernate - How to store java.net.URL into a database through Hibernate
body: <p>I have a field <code>URL countryURL;</code> in a <code>Country</code> class. I want to store its data into a <code>COUNTRY</code> table in a database through Hibernate.</p>
  
  <p>Which Hibernate <code>type</code> I should use in the hibernate mapping file</p>
  
  <pre><code>&lt;property column="COUNTRY_URL" name="countryURL" type="..."/&gt;
  </code></pre>
  
  <p>It is not excepting <code>string</code> and <code>text</code> type.</p>