You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by "Frank W. Nolden" <fr...@maxware.nl> on 2001/04/04 16:48:23 UTC

Problem building with Torque generated code

Hi Guys,

I have been succesfully generating the om and the SQL scripts with Torque
1.1a12 (although there are some minor issues with the last character being
deleted in the generated Create Tabel statements). Now I want to build the
generated code, but I find the following errors.
Am I doing something wrong or am I completely stupid not finding the problem
myself?
Any help is apreciated.

Frank

    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseAcc.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseAcc not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\Acc.java:28: Interface
com.maxware.fls.om.Persistent of class com.maxware.fls.om.Acc not found.
    [javac]     implements Persistent
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseAccPeer.java:109: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseAccPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseAccPeer.java:120: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseAccPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseApc.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseApc not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\Apc.java:28: Interface
com.maxware.fls.om.Persistent of class com.maxware.fls.om.Apc not found.
    [javac]     implements Persistent
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseApcPeer.java:97: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseApcPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseApcPeer.java:108: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseApcPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseAue.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseAue not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\Aue.java:28: Interface
com.maxware.fls.om.Persistent of class com.maxware.fls.om.Aue not found.
    [javac]     implements Persistent
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseAuePeer.java:93: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseAuePeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseAuePeer.java:104: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseAuePeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseBof.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseBof not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseBofPeer.java:115: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseBofPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseBofPeer.java:126: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseBofPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCal.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseCal not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCalPeer.java:95: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseCalPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCalPeer.java:106: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseCalPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCcc.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseCcc not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCccPeer.java:97: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseCccPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCccPeer.java:108: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseCccPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCif.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseCif not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCifPeer.java:93: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseCifPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCifPeer.java:104: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseCifPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCli.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseCli not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCliPeer.java:103: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseCliPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCliPeer.java:114: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseCliPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCop.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseCop not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCopPeer.java:107: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseCopPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCopPeer.java:118: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseCopPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCpf.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseCpf not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCpfPeer.java:97: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseCpfPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCpfPeer.java:108: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseCpfPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCry.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseCry not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCryPeer.java:97: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseCryPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCryPeer.java:108: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseCryPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCtr.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseCtr not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCtrPeer.java:97: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseCtrPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCtrPeer.java:108: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseCtrPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCty.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseCty not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCtyPeer.java:95: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseCtyPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCtyPeer.java:106: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseCtyPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCus.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseCus not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCusPeer.java:121: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseCusPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseCusPeer.java:132: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseCusPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseDcl.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseDcl not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseDclPeer.java:107: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseDclPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseDclPeer.java:118: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseDclPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseDcv.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseDcv not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseDcvPeer.java:115: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseDcvPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseDcvPeer.java:126: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseDcvPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseEfi.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseEfi not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseEfiPeer.java:95: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseEfiPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseEfiPeer.java:106: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseEfiPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseExc.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseExc not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseExcPeer.java:99: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseExcPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseExcPeer.java:110: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseExcPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseInp.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseInp not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseInpPeer.java:93: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseInpPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseInpPeer.java:104: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseInpPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseIpv.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseIpv not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseIpvPeer.java:101: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseIpvPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseIpvPeer.java:112: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseIpvPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseLar.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseLar not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseLarPeer.java:95: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseLarPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseLarPeer.java:106: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseLarPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseMfs.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseMfs not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseMfsPeer.java:135: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseMfsPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseMfsPeer.java:146: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseMfsPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BasePac.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BasePac not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BasePacPeer.java:101: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BasePacPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BasePacPeer.java:112: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BasePacPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BasePap.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BasePap not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BasePapPeer.java:99: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BasePapPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BasePapPeer.java:110: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BasePapPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BasePpv.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BasePpv not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BasePpvPeer.java:107: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BasePpvPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BasePpvPeer.java:118: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BasePpvPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BasePra.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BasePra not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BasePraPeer.java:97: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BasePraPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BasePraPeer.java:108: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BasePraPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BasePrl.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BasePrl not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BasePrlPeer.java:107: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BasePrlPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BasePrlPeer.java:118: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BasePrlPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseSip.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseSip not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseSipPeer.java:101: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseSipPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseSipPeer.java:112: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseSipPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseSmc.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseSmc not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseSmcPeer.java:95: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseSmcPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseSmcPeer.java:106: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseSmcPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseSpc.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseSpc not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseSpcPeer.java:103: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseSpcPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseSpcPeer.java:114: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseSpcPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseSpp.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseSpp not
found.
    [javac]     implements Retrievable
    [javac]                ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseSppPeer.java:107: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria) declared in class
com.maxware.fls.om.BaseSppPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria ) throws
Exception
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseSppPeer.java:118: The
method org.apache.turbine.om.ObjectKey
doInsert(org.apache.turbine.util.db.Criteria,
org.apache.turbine.util.db.pool.DBConnection) declared in class
com.maxware.fls.om.BaseSppPeer cannot override the method of the same
signature declared in class org.apache.turbine.om.peer.BasePeer.  They must
have the same return type.
    [javac]     public static ObjectKey doInsert( Criteria criteria,
DBConnection dbCon )
    [javac]                             ^
    [javac] C:\fls\tmp\src\com\maxware\fls\om\BaseUss.java:27: Interface
com.maxware.fls.om.Retrievable of class com.maxware.fls.om.BaseUss not
found.
    [javac]     implements Retrievable
    [javac]                ^


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: Problem building with Torque generated code

Posted by Daniel Rall <dl...@collab.net>.
"Frank W. Nolden" <fr...@maxware.nl> writes:

> ...although there are some minor issues with the last character being
> deleted in the generated Create Tabel statements

This is post processing that occurs to delete from the closing paren
to the last comma.  This alleviates the need to worry about which
element of the table creation statement comes last.

Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org