Eric, I didn't look at your code, but it seems like you had to update way too many classes to achieve your desired result.
The extend-user-howto method works really well. The problem described half way down can be resolved by hacking WEB-INF/build/bin/torque/templates/om/Object.vm to allow your TurbineUserAlias through one of the #if statements. I'll try and patch the howto today with the exact details. Cheers, Scott ----- Original Message ----- From: "Pugh, Eric" <[EMAIL PROTECTED]> To: "'Turbine Users List'" <[EMAIL PROTECTED]> Sent: Wednesday, January 16, 2002 5:15 AM Subject: RE: torque foreign-key between 2 schemas > Have you thought about instead just changing the TurbineUserPeer to > interface with your own table...? It gets to be a big pain if you your > "User" table doesn't look anything like TURBINE_USER, but it can be done. > If you browse to briefcase.yahoo.com/dep4b and then to java, you can see how > I did it. > > Eric > > -----Original Message----- > From: Weaver, Scott [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 15, 2002 12:45 PM > To: 'Turbine Users List' > Subject: RE: torque foreign-key between 2 schemas > > > Have fun... > > http://jakarta.apache.org/turbine/turbine-2/howto/extend-user-howto.html > > Scott > > -----Original Message----- > From: michael [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 15, 2002 11:53 AM > To: Turbine Users List > Subject: torque foreign-key between 2 schemas > > > hi there, > > having 2 schemas: > turbine-schema.xml and project-schema.xml > > I'm would like to set a foreign-key from the project-schema to the > TURBINE_USER table within the turbine-schema. > is there a chance to achieve this task? > > any idears? > > cu, > michael. > > ======== > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
