jonathan escribió: > Tim Black escribió: > >> Oleg Broytmann wrote: >> >>> You have to understand that SQLObject creates a hidden intermediate >>> table that stores cross-pointers for an every pair of RelatedJoins. If you >>> want to create more than one RelatedJoin you have to give the name for the >>> tables yourself. >>> >> Could it be that I have to drop to manually writing the classes for >> the join tables as described here: >> http://sqlobject.org/FAQ.html#how-can-i-define-my-own-intermediate-table-in-my-many-to-many-relationship >> >> ? >> > > It is useful if you want more info in the intermetiate class than just > the two foreignkeys to the related classes. If not, you can go the > explained way. >
Oh, I'm sorry, I didn't read your previous mail. What I said is true, but does not resolve your problem. If you create the related classes by hand, afterwards you would do: PersonProject(person = Person.get(1), proyect = Project.get(1)) ContractorProyect(person = Person.get(1), proyect = Project.get(1)) > > > >> Tim >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> sqlobject-discuss mailing list >> sqlobject-discuss@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss >> >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > sqlobject-discuss mailing list > sqlobject-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss