xml to Hibernate beans

P

Peter Parker

Hello,

I have xml document with data to populate Hibernate (Java) objects. Is
there good strategy to do this other than manually mapping data from xml
tree to Java objects? Thanks.
 
S

Steven J. Sobol

Hello,

I have xml document with data to populate Hibernate (Java) objects. Is
there good strategy to do this other than manually mapping data from xml
tree to Java objects? Thanks.

XMLBeans (http://xmlbeans.apache.org/) will parse the XML and populate
POJOs with it, and then you can do whatever you want with the POJOs including
persisting them with Hibernate.

I've used XMLBeans before; it's pretty slick.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,266
Messages
2,571,082
Members
48,773
Latest member
Kaybee

Latest Threads

Top