Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Question on creating an ad-hoc collection
PostPosted: Wed Sep 17, 2003 10:56 am 
Regular
Regular

Joined: Thu Aug 28, 2003 10:54 am
Posts: 67
Is there a way of creating a set of components from the columns of the class table , something like

<set name="group">
<component name="one" class="Class">
<property name="prop1" column="prop1"/>
</component>
<component name="two" class="Class">
<property name="prop2" column="prop2"/>
</component>
<component name="three" class="Class">
<property name="prop2" column="prop2"/>
</component>
</set>

thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 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.