Hi.

Does anyone store xmlBeans Document as text in CLOBs using Hibernate 3.2?

I've got some problems with it.
How to transform xmlBeans XmlObject to XML text (and write it to CLOB in 
IMBDB2) with XML
declaration (specialy including attribute "encoding", becouse We are using 
ISO-8859-2).
I tried to use Hibernate.createClob(xmlObject.newReader(), ...), but I've got 
only element root
without XML declaration.
or 
How to save XmlObject in CLOB on Hibernate 3.2 (we are using IBM DB2). 

Thanks,
Sebastian

PS. 
I tried also xmlObject.newReader(opt) where opt = XmlOptions (with
XmlOptions.SAVE_NO_XML_DECL=Boolean.FALSE) with same result.




 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to