Forum Stats

  • 3,827,255 Users
  • 2,260,751 Discussions


simple import of xml file to database

176658 Member Posts: 47
edited Sep 5, 2008 6:18PM in JDeveloper and ADF
It has been a while since I coded in java. I know I could hand code a simple java app which imports an xml file into an oracle db but I was wanting to see if there is any easier way to do it with Jdeveloper, something which takes care of the grunt work for me. Note, I do not need jsp, etc. for the app just a simple plain java app. Is there any doc describing this?


Edited by: stevendahlin on Sep 5, 2008 12:21 PM


  • 470068
    470068 Member Posts: 835

    Use Oracle XML Developer Kit 10g

  • avrom
    avrom Member Posts: 370
    Hmm...if you use a style sheet to transform the file into standard view object notation, you could import it into an appropriate VO using the method ViewObjectImpl.readFromXML(). My guess is that the standard notation won't be too hard to transform things into; use your favorite XML output solution to output the result of ViewObjectImpl.writeXML() (it's a Node) so you can see the pattern.
  • 470068
    470068 Member Posts: 835

    It's also one of the options (if you want to use ADF BC). Here is an example:

This discussion has been closed.