Plugins (1057)


Training and Consulting (44)



EPIC Poll

What is your favourite developer portal?

[ Results | Polls ]

Votes: 541
Comments: 0

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
sutter2k
Post subject: Hibernate Syncronizer still does not support all hibernate  PostPosted: Jul 20, 2004 - 11:28 AM



Joined: Mar 17, 2004
Posts: 10
Location: Willow Grove, PA
combinations.

The composite-element in the mapping below is completely ignored during generation. Is this supported by the plugin?

Code:

<class
    name="Device"
    table="device" dynamic-update="true"
>
    <id name="id" type="integer" column="ID">
        <generator class="native" />
    </id>
    <property name="hostname" type="string" length="255" not-null="true" />
   <property name="description" type="string" />
   <property name="fqdn"  type="string"  length="255" />
   <property name="hwtype"  type="string" />
   <property name="hdaddr"  type="string" />
    <!-- associations -->
   <many-to-one name="deviceType" column="devicetypeid" class="com.diamondip.netcontrol.model.DeviceType"/>

   <!--- will remove masterBag, it was only a suggestion if you really wanted an id generated for the collection -->
   <idbag name="Interfaces" lazy="true" table="dnszonemaster" >
      <collection-id type="int" column="id">
         <generator class="sequence"/>
      </collection-id>
      <key column="dnszoneid"/>
      <composite-element class="DeviceInterface">
         <many-to-one name="device" column="deviceid" class="Device" />
         <property name="name" type="string" />
         <property name="seqnum" type="int" />
         <property name="hwtype"  type="string" />
         <property name="hdaddr"  type="string" />
      </composite-element>
   </idbag>

</class>


Matt Payne[/code]
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
sutter2k
Post subject:   PostPosted: Jul 20, 2004 - 11:32 AM



Joined: Mar 17, 2004
Posts: 10
Location: Willow Grove, PA
However, if you do it inside a set, it works???

<set name="dnsServerLogCategorys" table="dnsserverlogcategory">
<key column="dnsserverid"/>
<composite-element class="CategoryChannel">
<many-to-one name="logChannel" class="LogChannel" column="logchannelid"/>
<many-to-one name="logCategoryDictionary" class="LogCategoryDictionary" column="categorydictionaryid"/>
</composite-element>
</set>
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Guest
Post subject:   PostPosted: Aug 04, 2004 - 08:51 AM






Any word on this?

idbag with composite element???
 
   
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits