Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 65718 invoked from network); 17 Nov 2003 21:36:19 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 17 Nov 2003 21:36:19 -0000 Received: (qmail 69413 invoked by uid 500); 17 Nov 2003 21:36:05 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 69382 invoked by uid 500); 17 Nov 2003 21:36:05 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 69356 invoked from network); 17 Nov 2003 21:36:04 -0000 Received: from unknown (HELO mail.tarausa.com) (216.230.91.169) by daedalus.apache.org with SMTP; 17 Nov 2003 21:36:04 -0000 Received: from gui (216.230.91.188) by mail.tarausa.com (Worldmail 1.3.167) for torque-user@db.apache.org; 17 Nov 2003 13:36:10 -0800 Message-ID: <010301c3ad52$d9ed7fd0$bc5be6d8@gui> From: "Derick Fernando" To: "Apache Torque Users List" References: <8765557836794E4EADF7F31290F4C39F03E67C74@ns.suz.com> Subject: Re: How to start projects with Torque Date: Mon, 17 Nov 2003 13:36:24 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.3790.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, In the schema folder you can have databaseone-schema.xml, databasetwo-schema.xml etc. In your properties file you can have: torque.database.databaseone torque.database.databasetwo type settings. Derick ----- Original Message ----- From: "Vikas Phonsa" To: "'Apache Torque Users List'" Sent: Monday, November 17, 2003 1:22 PM Subject: How to start projects with Torque > Hi, > > I went thru the torque tutorials and made a database. > > Now I would like to know how to start or manage such database project with > Torque. > > In the schema folder under the torque installation dir I had my database > schema for the first database. How do I create a second database. > > Is every different database or database project supposed to be started with > its separate torque directory structure. > > I mean I want to create multiple databases and generate java classes for > them. So how would that be managed. > > And I'm using Torque 3.0 > > Thanks in advance for your suggestions. > > Vikas > > > -----Original Message----- > From: Vikas Phonsa [mailto:VPhonsa@suz.com] > Sent: Monday, November 17, 2003 11:53 AM > To: 'Apache Torque Users List' > Subject: import statements in generated java classes > > Hi, > > I wasn't able to compile the java classes that were generated from the > database schema by torque. > > I had to manually add import statements for java.util.List, > java.util.Iterator and org.apache.torque.util.Criteria to compile them. > > Is this the way it normally should work ? > > Why were those imports, if reqd were generated in the java files ? > > > Any ideas ? > > Thanks > > Vikas > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org > For additional commands, e-mail: torque-user-help@db.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org > For additional commands, e-mail: torque-user-help@db.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org