XML and ObjectDB


Hi All,

I am new to ObjectDB and trying learn more about it.  I couldn't find much information about this on Google or this site so I am asking for more help in here.

What is the typical way to persist XML into ObjectDB?  Do you need to generate JAXB JAVA bindings and then persist the generated JAVA bindings to ObjectDB?

If this is one way, is there any alternative ways?




ObjectDB can be used to store any type of data including XML.

For example, you can define a generic Element entity and store the XML as a tree of Element nodes.

Another option is to define a separate entity class per XML element type.

You can also store an entire non parsed XML file as string or byte[] in one entity object.

Every method has its pros and cons so it depends on your specific needs.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

To post a reply and/or subscribe to update notifications - please login