using hibernate to import data into oracle from xml files
posted 10 years ago
Has anyone been able to do this successfully, I followed the example/sample in hibernate reference manual described in chapter 19. Iam able to persist product object defined in xml into oracle database using hibernate APIs. I have defined/created a child element 'Sku' under element product in the xml data. I have also created the respective mapping for 'Sku' in product hibernate mapping xml. When I persist the Product object, sku does not get saved.
I am looking for tips/advice on persisting parent/child records into Oracle Database using hibernate. The data for these objects need to stored in an XML file.