Hei this is not the first question about extending turbine user I see on this list. Maybe someone should refactor the howto? I would do it myself, but I don't really understand it :-(
On Thu, 28 Feb 2002, Jim Knoll wrote: > Hello, > > I am trying to follow the Extend User How To. I receive compilation > errors when the compile target executes. One of the errors indicates > TurbineUserPeer is an unknown symbol in BaseStatusReportUserPeer.java. > If I edit that file to include import > org.apache.turbine.om.security.peer.*;, the error is fixed. My errors > seem to result from the inability to find class definitions. > > After I fix the compilation errors, the generated code > overwrites my changes. I think I am not configuring the properties > properly. > > Here is my schema: > > <database> > <table name="STATUS_REPORT_USER" javaName="StatusReportUser" > alias="TurbineUser" > baseClass="org.dyndns.jimknoll.status_report.om.TurbineUserAdapter" > basePeerClass="org.dyndns.jimknoll.status_report.om.TurbineUserPeerAdapter"> > <column name="USER_ID" primaryKey="true" required="true" type="integer"/> > </table> > > <table name="StatusEntries"> > <column name="StatusId" required="true" autoIncrement="true" > primaryKey="true" type="INTEGER"/> > <column name="USER_ID" required="true" type="INTEGER"/> > <foreign-key foreignTable="STATUS_REPORT_USER"> > <reference local="USER_ID" foreign="USER_ID"/> > </foreign-key> > <column name="Comment" size="255" type="VARCHAR"/> > <column name="Date" size="14" type="TIMESTAMP"/> > <column name="Progress" size="10" type="VARCHAR"/> > </table> > </database> > > I would appreciate any help. > > Jim > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- As you grouw older, you'll find the only things you regred are the things you didn't do. - Zachary Scott -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
