|Recommended way to store XML data with EL [message #540468]
||Wed, 16 June 2010 05:37
Registered: May 2010
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.
Powered by FUDForum
. Page generated in 0.01511 seconds