-->
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.  [ 3 posts ] 
Author Message
 Post subject: Lazy Loading of a Property
PostPosted: Fri Jan 19, 2007 12:20 pm 
Newbie

Joined: Fri Dec 01, 2006 11:23 am
Posts: 2
I have a situation where I would like to lazy load a specific column in a table. The reasoning is because the column is a blob. Sometimes when I get Exhibit I only care about it's meta-data, like file size, file name, blahblahblah. I only really want to load the data, because of how big it could be, when the user has specifically asked for it (clinked on a link to download it).

Originally I thought I could just lazy load that specific column, however, my initial testing seems to show that I cant. This seems a bit odd, since the DTD supports lazy="true" for a <property/>

The initial testing I did might have been flawed however, so does anyone know if you can actually do this?


Top
 Profile  
 
 Post subject: Same problem
PostPosted: Thu Feb 15, 2007 3:58 am 
Regular
Regular

Joined: Tue Nov 29, 2005 12:31 pm
Posts: 75
Hi,

I'm facing exactly with the same problem. Anybody any idea about this one?

Thanks.


Top
 Profile  
 
 Post subject: The solution
PostPosted: Thu Feb 15, 2007 5:39 am 
Regular
Regular

Joined: Tue Nov 29, 2005 12:31 pm
Posts: 75
Here is the winner link:

http://www.hibernate.org/hib_docs/v3/re ... ing-custom

If you experience any problem just let me know.

Best.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.