Hi,

thanks for this greate software.

At the moment I try to map an many-to-many relationship with attributes
following
the example in the FAQ (http://www.hibernate.org/118.html#A10).

The DDL is:
create table relationship (
    fk_of_foo bigint not null,
    fk_of_bar bigint not null,
    multiplicity smallint,
    created date )
The mapping suggestion is:<set role="relationship">
    <key column="fk_of_foo"/>
    <composite-element class="Relationship">
        <property name="multiplicity" type="short"/>
        <property name="created" type="date"/>
        <many-to-one name="bar" class="Bar"/>
    </composite-element>
</set>
The validation of this mapping against the DTD failes unfortunately.Is the
FAQ-Entry uptodate? What is the way to go for a solution?Thank your for your
help.Andreas



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to