wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes using hibernate to import data into oracle from xml files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "using hibernate to import data into oracle from xml files" Watch "using hibernate to import data into oracle from xml files" New topic
Author

using hibernate to import data into oracle from xml files

kasi sank
Greenhorn

Joined: Apr 01, 2005
Posts: 2
Hi,

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.

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: using hibernate to import data into oracle from xml files