Hi Darius,

Regarding the n:m mapping:

Mhh, I can't get this to work without "table". The mapping from my initial
post is generated by
the cardridge but when I let HB generate the corresponding data model, only
two tables are generated but for an N:M you need three. The generated tables
have not even foreign keys I think.

Also here in the documentation:
http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#assoc-bidirectional-join-m2m
In case of a bidirectional many-to-many association, they also use the
"table" attribute.

I'm using the latest version of HB.

Do you have any idea what could be the issue?


Regarding the double mappings:

ok, and when I define the tagged value "columnName", the value will be used
as "name" attribute of the "column" element -- right?

In that case I think I will try to customize the generator so that it just 
adds the number of the relation to the generated relation name.

many thanks


-- 
View this message in context: 
http://www.nabble.com/Problems-with-N%3AM-Mappings-in-HB-Cartridge-tp14649327s17564p14678192.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to