You have to override dialect class for the database you are using to define hibernate type and its mapping to a perticular database column say XMLTYPE in your case.