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: Updating an association ManyToMany
PostPosted: Wed Sep 19, 2007 4:28 am 
Newbie

Joined: Thu Jul 12, 2007 1:35 pm
Posts: 9
Salamoalikome,
My application has an association ManyToMany With composite-element and I want to upDate the Property of the composite-element of each row through the collection like Deleting...
Please, anyone has an idea.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 19, 2007 6:40 am 
Newbie

Joined: Mon Aug 13, 2007 9:27 am
Posts: 12
first post you mapping file.


Top
 Profile  
 
 Post subject: The mapping files
PostPosted: Wed Sep 19, 2007 11:32 am 
Newbie

Joined: Thu Jul 12, 2007 1:35 pm
Posts: 9
<class name="TestList.Client, TestList" table="Client">

<id name="nom" column="Nom" type="String" >
<generator class="assigned"/>
</id>

<property name="CltPrenom" column="Prenom" type="String"/>

<bag name="CltListeProduits" table="Commande">
<key column="ClientID"/>
<composite-element class="TestList.Commande, TestList">
<property name="quantity" type="int">
<column name="Quantity"/>
</property>
<many-to-one name="produit" class="TestList.Produit, TestList" column="ProductID">
</many-to-one>
</composite-element>
</bag>


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.