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]>