You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by bu...@apache.org on 2002/09/23 17:39:11 UTC

DO NOT REPLY [Bug 12925] New: - BaseXX classes creating duplicate getXX methods

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12925>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12925

BaseXX classes creating duplicate getXX methods

           Summary: BaseXX classes creating duplicate getXX methods
           Product: Turbine
           Version: 3.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Torque
        AssignedTo: turbine-dev@jakarta.apache.org
        ReportedBy: howellyee@yahoo.com


This is part of my x-schema.xml file:

    <table name="APPLICATION_CD" idMethod="none">
        <column  name="APPLICATION_CD" primaryKey="true" required="true"
size="100" type="VARCHAR"/>
        <column  name="APPLICATION_DSC" required="true" size="100" type="VARCHAR"/>
    </table>
 
    <table name="APPLICATION" idMethod="idbroker">
        <column  name="APPLICATION_ID" primaryKey="true" required="true"
type="INTEGER"/>
        <column  name="APPLICATION_CD" required="true" size="100" type="VARCHAR"/>
        <column  name="SETTING_NAME" required="true" size="100" type="VARCHAR"/>
        <column  name="DEFAULT_SETTING_VALUE" required="true" size="100"
type="VARCHAR"/>
        
        <foreign-key foreignTable="APPLICATION_CD">
              <reference foreign="APPLICATION_CD" local="APPLICATION_CD"/>
        </foreign-key>
    </table>

The APPLICATION_CD is something that will be populated
manually.  

The BaseApplication class is generating duplicate getApplicationCd() methods:

public StringKey getApplicationCd()

public ApplicationCd getApplicationCd() throws TorqueException

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>