I'm trying to use the latest 1.3 snapshot from CVS and attempting to use the @hibernate.key tag (I'd like to follow the depracation warnings and move away from the @hibernate.collection-* tags). I want to specify additional column details with a @hibernate.column tag, but that generates a mapping file where all elements of the mapping have an inner column element with the name "WORK_ITEM_ID".
This is the javadoc: /** * @hibernate.list table="DEPENDENTS" * cascade="save-update" * lazy="true" * @hibernate.key column="WORK_ITEM_ID" * @hibernate.column name="WORK_ITEM_ID" * length="32" * @hibernate.index column="LIST_INDEX" * @hibernate.many-to-many class="com.tirawireless.common.model.work.AbstractWorkItem" * column="DEPENDENT_WORKITEM_ID" */ and this is the generated output mapping: <list name="dependentsInternal" table="DEPENDENTS" lazy="true" cascade="save-update"> <key column="WORK_ITEM_ID"> <column name="WORK_ITEM_ID" length="32" /> </key> <index column="LIST_INDEX"> <column name="WORK_ITEM_ID" length="32" /> </index> <many-to-many class="com.tirawireless.common.model.work.AbstractWorkItem" column="DEPENDENT_WORKITEM_ID"> <column name="WORK_ITEM_ID" length="32" /> </many-to-many> </list> Is this a known issue? In the documentation generated from the snapshot, the @hibernate.key column attribute says this: "The name of the foreign key column. This may also be specified by nested @hibernate.column tag(s)". What exactly does "nested" hibernate.column mean? How should I specify some column specifics for just one column? Thanks, Adrian ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user