-->
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: Set columns to return in oneToMany
PostPosted: Thu Nov 25, 2010 2:53 pm 
Newbie

Joined: Thu Nov 25, 2010 2:38 pm
Posts: 1
Hello my friends, i have a question about oneToMany annotation.
I need receive a list of joined object with oneToMany annotation, and this is easy.
But how can i do for receive just some column from the join table and not all??
cause there is one blob column that i don't need it, and this is heavy to have in any object of the list, i just want two columns from the join table, there is an attribute to tell to oneToMany annotation that i need return just some column ?
i know there are other way for example put the blob column in another table, but i'd like have this opportunity to set oneToMany select fields return....


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.