-->
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: embed-xml at run
PostPosted: Sun May 21, 2006 8:08 am 
Newbie

Joined: Sat Jan 22, 2005 9:39 am
Posts: 10
Hibernate version: 3.1.3

Hi,

I would like to specify the embed-xml parameter value at run instead
of using the one in the configuration. The same way as we can
do with the fetch mode...

Is it possible ?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 28, 2006 12:52 pm 
Beginner
Beginner

Joined: Mon Aug 01, 2005 3:51 pm
Posts: 22
I have the same question.

It seems that embed-xml overrides the lazy and fetch attribute. I don't think that it should. embed-xml should mean, if the associated entity is initialized (as determined by lazy and select), then the full xml for that entity will be written to the Element. Then you could determine the hydration of the xml at the query level as you do for POJO (by specifying the fetch).


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.