Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Recommended way to store XML data with EL
Recommended way to store XML data with EL [message #540468] Wed, 16 June 2010 05:37 Go to previous message
marco is currently offline marco
Messages: 21
Registered: May 2010
Junior Member
Hi,

I am looking for a best practice solution for storing XML data in a database with EL. I receive an XML document from a WS (using Apache CXF) which is unmarshaled to an object structure using JAXB. After some processing, I would like to store the data in a MySQL db using JPA/EL. I don't need to query or manipulate the data later on - i.e., the data could be stored as a BLOB. I thought about marshaling the data to a byte[] or to a string (preferable) and store it as a property of an entity.
Is there any better solution supported by EL or should I go with the marshaling approach (if so, are there any major performance differences between marshaling to byte[] or string)?

Thanks in advance for your thoughts.

marco
 
Read Message
Read Message
Read Message
Previous Topic:PluralAttribute.getJavaType returns element type instead of collection type
Next Topic:Readonly ManyToMany mapping?
Goto Forum:
  


Current Time: Wed May 22 11:28:22 EDT 2013

Powered by FUDForum. Page generated in 0.01782 seconds