db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Travis Stevens" <Travis.Stev...@noaa.gov>
Subject Re: Peer.retreiveByPk not being created
Date Wed, 22 Jan 2003 17:59:21 GMT
A note on this for future reference.

This problem came back, and the problem was not what I had suspected 
earlier. However, I updated to the latest torque-devel and this problem 
went away.

-Trav

Travis Stevens wrote:

> I'm creating the db-schema.xml file with an sql file that has a series 
> of sql statements. The xml file looks good, but the 
> TablenamePeer.retreiveByPk is not being created. Each table, in the 
> xml, has a primary key defined.
>
>
> Because of this, when I compile i get errors such as:
>
> [javac] 
> /home/tns/java/torque-3.0-satprod/src/java/gov/noaa/gdsg/satprod/BaseSatelliteInstrument.java:296:

> cannot resolve symbol
> [javac] symbol : method retrieveByPK (org.apache.torque.om.SimpleKey)
> [javac] location: class gov.noaa.gdsg.satprod.InstrumentPeer
> [javac] aInstrument = 
> InstrumentPeer.retrieveByPK(SimpleKey.keyFor(this.instrument_id));
>
> and indeed in InstrumentPeer, there is not a single retrieveBy method.
>
> any ideas? -Trav
>
>
> -- 
> To unsubscribe, e-mail: 
> <mailto:turbine-torque-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:turbine-torque-user-help@jakarta.apache.org>
>
>



Mime
View raw message