Hibernate - How to store java.net.URL into a database through Hibernate
Posted
by Yatendra Goel
on Stack Overflow
See other posts from Stack Overflow
or by Yatendra Goel
Published on 2010-03-13T12:56:02Z
Indexed on
2010/03/13
13:05 UTC
Read the original article
Hit count: 253
I have a field URL countryURL;
in a Country
class. I want to store its data into a COUNTRY
table in a database through Hibernate.
Which Hibernate type
I should use in the hibernate mapping file
<property column="COUNTRY_URL" name="countryURL" type="..."/>
It is not excepting string
and text
type.
© Stack Overflow or respective owner