--- MartinB <[EMAIL PROTECTED]> wrote:

> 
> No, the result is:
> 
> <hibernate-mapping>
>   <class table="LocationList" lazy="false"
> name="de....LocationList">
>     <id column="id" name="dbId">
>       <generator class="native"/>
>     </id>
>     <map table="Location_Map"
> cascade="save-update,persist"
> name="locations">
>       <key column="FK_LocationList"/>
>       <composite-map-key class="de.....StationId">
>         <g:fail xmlns:g="generama:core">no element
> tag deined in class
> LocationList for locations</g:fail>
>       </composite-map-key>
>       <many-to-many column="FK_Location"
> class="de....Location"/>
>     </map>
>   </class>
> </hibernate-mapping>
> 
> I use:
> commons-jelly-20050813.225330.jar
> commons-jelly-tags-xml-20050823.222913.jar
> xdoclet-2.0.5-20060124.204309.jar
> xdoclet-plugin-hibernate-1.0.4-SNAPSHOT.jar
> 
> I hope this are all relevant libs, wasnt so easy to
> setup! ;o)

You can steal or maven setup from CVS. 
And code contains unit tests, also for  composite map
key.  You can steal mapping there. 

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to