Hello,

RAPHEAD wrote:
> 
> 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 think it is a good idea to add a possibility to customize the table
attribute.
The next version of the Hibernate Cartridge is currently in work and will be
released in end of january.


RAPHEAD wrote:
> 
> 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?
> 
Yes. But we also want to add a possibility to set the name of the key column
element.
This will be also part of the next release.

Regards
Darius

-- 
View this message in context: 
http://www.nabble.com/Problems-with-N%3AM-Mappings-in-HB-Cartridge-tp14649327s17564p14685094.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