Hi,
im using the unmarshalling mechanism of JAXB to get Objects from xml files, which are mapped in my project to be stored in a db.
Some of these xmlfiles contain cdata elements, which produces some errors. all the files are utf8 encoded, the unmarshaller reads from an utf-8 inputstream, but still i get a
Code:
java.sql.BatchUpdateException: Batch-Eintrag 0 update classname set attributename=attribute value
it seems, that the special characters like that space in "attribute value" just are just not being escaped, or, the '' around strings like that are missing. How can i tell hibernate to handle these data correctly?
any help appreciated.