• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

creating huge xml file using xmlbeans

 
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All

I am using xmlbeans to fetch data. I have created the xsd of how the data we need. The sender application sends us the xml adhering to the specified xsd.

Now I need to send data to another application. I am planning to use xmlbeans here. The external app has specified the xsd according to which we have to send the xml.
I have scratched XMLBeans a bit & know the java file which xmlbeans implicitly creates from the xsd has the specified setter methods.
So i can invoke these setter methods & create an xml file from xmlbeans.

Since the resultset which I am gonna fetch will be huge. I will have to do something like xmlbeans.setXXElement(resultset.get()).

What I want to acheive is there someway where I can map the columns of the fetched resultset with the XMLBeans methods.
Is there someway I can make use of the column names or resultsetmeta data & match with the xml tags

Regards
reply
    Bookmark Topic Watch Topic
  • New Topic