-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: DB 9.1 XML column type
PostPosted: Wed Aug 30, 2006 12:29 pm 
Newbie

Joined: Wed Aug 30, 2006 12:11 pm
Posts: 1
Is anyone using Hibernate/ejb3 to work with the new DB2 9.1 XML column type? I've managed to get it to "work" but due to my limited knowledge of hibernate it's not the cleanest solution.

Is support for this column type in plan/done or has someone implemented it already? I'd like to save some time by using something that's already there instead of manually doing all my mappings using nativeQuerys, since pretty much all my tables are ID,Relations, XML where the ID is the @Id and the Relations are there only to link this entity to others, and all the real entity information is stored in the XML column.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 30, 2006 2:56 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
the clean way to do it is to implement a UserType (XmlUserType), that handle the translation

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.