Hi, the docs for manyToMany still need to be written, as well as the updated docs for manyToOne, sorry for that. Currently, your best bet is the source code of the unit tests: http://rifers.org/fisheye/ browse/rifers/rife/trunk/src/unittests/com/uwyn/rife/database/ querymanagers/generic/TestGenericQueryManagerManyToMany.java?r=HEAD
Basically, you use a GenericQueryManager together with the appropriate constraints. When you install the query manager is will automatically create the link table. RIFE/Crud still needs to be updated for this. Using your own link table isn't implemented yet, but if you really need it, please file an issue in Jira, it's not hard to add. HTH, Geert On 27 Aug 2007, at 16:23, [EMAIL PROTECTED] wrote: > > Hi people, > > I couldn't find any sample on manyToMany ... I see it is a constraint > available in "ConstrainedProperty" ... but how does one use it ? > > Can it be used with Rife/Crud ? > Does it automatically create the intermediate table or can it work > with my own ? > > Thank you, > > > P.S. Geert, thank you for the response on the migrations feature I > asked about ... it wouldn't be too hard implementing it, but it's a > "nice to have" -- Geert Bevin Terracotta - http://www.terracotta.org Uwyn "Use what you need" - http://uwyn.com RIFE Java application framework - http://rifers.org Music and words - http://gbevin.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rife-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rife-users?hl=en -~----------~----~----~----~------~----~------~--~---
