[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    Storing xmlBeans in Hibernate CLOB on DB2 - questions?
From:       Sebastian Mojko <mojkos () yahoo ! com>
Date:       2007-03-27 12:29:18
Message-ID: 372927.2639.qm () web63501 ! mail ! re1 ! yahoo ! com
[Download RAW message or body]

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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic