Return-Path: Mailing-List: contact turbine-torque-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list turbine-torque-user@jakarta.apache.org Received: (qmail 17421 invoked by uid 98); 10 Jan 2003 02:26:11 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Received: (qmail 17400 invoked from network); 10 Jan 2003 02:26:09 -0000 Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142) by nagoya.betaversion.org with SMTP; 10 Jan 2003 02:26:09 -0000 Received: (qmail 64581 invoked by uid 500); 10 Jan 2003 02:24:44 -0000 Received: (qmail 64562 invoked from network); 10 Jan 2003 02:24:43 -0000 Received: from lucky.ngdc.noaa.gov (140.172.175.99) by daedalus.apache.org with SMTP; 10 Jan 2003 02:24:43 -0000 Received: from noaa.gov (jalapeno.ngdc.noaa.gov [192.149.148.218]) by lucky.ngdc.noaa.gov (Netscape Messaging Server 4.15) with ESMTP id H8H89200.12A for ; Thu, 9 Jan 2003 19:29:26 -0700 Message-ID: <3E1E2EF3.6080503@noaa.gov> Date: Thu, 09 Jan 2003 19:24:51 -0700 From: "Travis Stevens" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Turbine Torque Users List Subject: Peer.retreiveByPk not being created References: <3E16078E.9050200@noaa.gov> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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