-->
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.  [ 1 post ] 
Author Message
 Post subject: EntityMode.DOM4J only works when every column selected?
PostPosted: Fri Oct 03, 2008 12:07 pm 
Newbie

Joined: Wed May 14, 2008 1:21 pm
Posts: 4
I am trying to retrieve XML from a database using EntityMode.DOM4J. When my query starts with "from ...", I get back XML data as Element objects. When my query starts with "select a, b, c from ...", I get back non-XML data as Object objects.

Is there any way to get back XML from a result set that only includes a subset of the columns in a mapped class?


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

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.