my aim is to save .XML file in oracle table using hibernate.my table has column of XMLTYPE , the .XML file must insert into that column.can someone show me how to do it ? (pls if u have any working sample let me know about it)
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.
If you are not gonna use xpath and xquery, set the type of xml field as CLOB or BLOB and marshal and unmarshal it using JAXB.