Did you use a Non-Decomposed mapping or manual-decomposing mapping with a object as relation (http://db.apache.org/ojb/docu/guides/basic-technique.html#Mapping+m%3An+associations)?

I think OJB has a problem with the non-decomposed mapping??? Could you send me the part of your descriptor where your application use n:m mapping?


Thanks, Thomas

Thomas Franke schrieb:

Thomas Papke wrote:

I need the inId because its like ebay: in each productgroup there is a collection of "untergruppen/undergroups". And this works: i could add objects of produktgruppe and save them (so inId will store the reference to the main productgroup).

I tought first on a problem that we had. Sorry, I was wrong. :)

The problem is not between productgroup and productgroup (1:n) - it is between Productgroup and Product (n:m)

We have in our application similar relationships and our mappings look like your mapping and it's working.


regards

Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to