Hi Rishi,
rishi4you wrote:
Hi,
we are working on a content management system and we have to presist XML data into Oracle XML DB which would contain tables having XMLTYPE data. I would like to know the following
1) Does 3.2 version of Hibernate supports this feature out of the box.
nope! :(
rishi4you wrote:
2) Do we have to implement our own custom persister class for this.
Yuo "only" need to write your own UserType which implements UserType, Serializable. You will find some implementation of this usertype in the forums.
rishi4you wrote:
3) Does using Usertype solves the problem with retrieval.
What problem? No problems if you correctly implement your usertype! ;)
rishi4you wrote:
If anyone has worked on this, i would appreciate if he/she can share his views.
Rishi
Done ;)
Adding support for XMLType in hibernate is quite straightforward, but you will incur some problems when reverse-engineering: I still have some mapping issues!
Hope I cleared out some doubt!!
Xserty