From torque-user-return-3771-apmail-db-torque-user-archive=db.apache.org@db.apache.org Tue Dec 16 16:11:30 2003 Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 7768 invoked from network); 16 Dec 2003 16:11:30 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 16 Dec 2003 16:11:29 -0000 Received: (qmail 69750 invoked by uid 500); 16 Dec 2003 16:11:21 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 69736 invoked by uid 500); 16 Dec 2003 16:11:20 -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 69722 invoked from network); 16 Dec 2003 16:11:19 -0000 Received: from unknown (HELO eufig1.rit.reuters.com) (194.205.123.3) by daedalus.apache.org with SMTP; 16 Dec 2003 16:11:19 -0000 Received: from no.name.available by eufig1.rit.reuters.com via smtpd (for daedalus.apache.org [208.185.179.12]) with SMTP; 16 Dec 2003 16:11:22 UT Received: from eupig1 (unverified) by dtcseuvig6.reuters.com (Content Technologies SMTPRS 4.3.10) with ESMTP id for ; Tue, 16 Dec 2003 15:49:20 +0000 Message-ID: Received: from dtcsmsxb01.emea.ime.reuters.com ([10.5.150.13]) by eupig1.dtc.lon.ime.reuters.com (PMDF V6.1-1 #30693) with ESMTP id <0HPZ001NDVUZPK@eupig1.dtc.lon.ime.reuters.com> for torque-user@db.apache.org; Tue, 16 Dec 2003 15:47:23 +0000 (GMT) Received: from LONSMSXM01.emea.ime.reuters.com ([10.5.150.14]) by dtcsmsxb01.emea.ime.reuters.com with Microsoft SMTPSVC (5.0.2195.4905); Tue, 16 Dec 2003 15:47:23 +0000 Date: Tue, 16 Dec 2003 15:47:23 +0000 From: Edwin Yearwood Subject: RE: torque-3.1.zip archives To: Apache Torque Users List MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6375.0 Content-type: text/plain; charset="us-ascii" Content-transfer-encoding: quoted-printable Thread-Topic: torque-3.1.zip archives Thread-Index: AcPD3ffdiCHAMGY5QeKzhieAV1t81QADaA5w content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 16 Dec 2003 15:47:23.0260 (UTC) FILETIME=[E58F23C0:01C3C3EB] 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 Thanks Bogdan, we will use your guidelines to complete the installation and build. Thanks again for your assistance. Edwin Yearwood Developer BTG Reuters Telephone +44 (0)208 542 5818 Email edwin.yearwood@reuters.com Reuters Messaging edwin.yearwood.reuters.com@reuters.net -----Original Message----- From: Bogdan Vatkov [mailto:bvatkov@globaltech-bg.com]=20 Sent: 16 December 2003 13:54 To: Apache Torque Users List Subject: Re: torque-3.1.zip archives Yep , documentation is not clear enough in all cases ..but yes you will have to dowlonad torque-gen-3.1.zip in order to obtain the torque peer classes generator. You will define your database schema and generate corresponding java classes and sql statements inside torque-gen distribution define your schema here: /torque-gen-3.1/schema/your-project-schema.xml define your generation properties here: /torque-gen-3.1/build.properties after running ant build-torque.xml inside the folder /torque-gen-3.1/ you will have the generated files here: /torque-gen-3.1/src/java /torque-gen-3.1/src/sql (create java project..eclipse/jbuilder/jdeveloper/or by hand:)) get java files from /torque-gen-3.1/src/java also here you will have to aquire the jars from torque-3.1 (here it is) to configure torque.properties - your database props here... log4j.properties - log4j props... both files are provided with the torque-3.1 distribution and somewhere in the code of your project you will have to invoke (once - per application) Torque.init("the full path to the file torque.properties"); hope this helps ... torque as an engine realizes the object2relational mapping by creating (offline/design time) wrapper & peer classes for each table in your database schema...that is why you first have to generate those classes via torque-gen.. and these classes use torque engine (which is in torque-3.1.zip) that is why you have to include torque engine jars to the project afterwards torque-gen-3.1.zip (torque generator) is used before compile (design time) torque-3.1.zip (torque engine) is used while compiling (and of course at runtime :) if there are other questions give them .. with best regards, bogdan ----- Original Message ----- From: "Edwin Yearwood" To: "Apache Torque Users List" Sent: Tuesday, December 16, 2003 14:18 Subject: RE: torque-3.1.zip archives Hi, yes that's right I am talking about the torque-3.1.zip. If I've understood you correctly that means we need to extract both the torque-3.1.zip and torque-gen-3.1.zip archives before using the application, right? I don't think the tutorial guide emphasises this?. Thanks. Edwin Yearwood Developer BTG Reuters Telephone +44 (0)208 542 5818 Email edwin.yearwood@reuters.com Reuters Messaging edwin.yearwood.reuters.com@reuters.net -----Original Message----- From: Bogdan Vatkov [mailto:bvatkov@globaltech-bg.com] Sent: 16 December 2003 11:10 To: Apache Torque Users List Subject: Re: torque-3.1.zip archives Hi, I am not sure ...but as i see in your post ..you are talking about the torque-3.1 zip this the torque engine ..and must be includeded (as a bunch of jars inside your deployment infrastructure) the folder like /schema, /templates are inside the torque-gen-3.1.zip this is a separate zip file ..and contains the torque generator (inc schema,templates, generation build file etc..) Is that right that you talk about torque-3.1.zip (not torque-gen-3.1.zip) ? With best regards, Bogdan ----- Original Message ----- From: "Edwin Yearwood" To: Sent: Tuesday, December 16, 2003 12:39 Subject: torque-3.1.zip archives Hi, We're investigating torque-3.1 as a strategic solution, but have noticed that the .zip archive is missing a number of resources specifically the /schema, /templates, build.properties and build-torque.xml directories and files respectively. 1) Is there a reason for this since it cause confusion when using the tutorial?. 2) We've tried the tutorial on v3.0 but class generation produces an empty file report.bookstore.om.generation, can anyone help? Apologise if these question have been answered before, but I can't seem to access the mailing list archives. Thanks. Edwin Yearwood Developer BIG Reuters Telephone +44 (0)208 542 5818 Email edwin.yearwood@reuters.com Reuters Messaging edwin.yearwood.reuters.com@reuters.net -------------------------------------------------------------- -- Visit our Internet site at http://www.reuters.com Get closer to the financial markets with Reuters Messaging - for more information and to register, visit http://www.reuters.com/messaging Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd. --------------------------------------------------------------------- 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 --------------------------------------------------------------- - Visit our Internet site at http://www.reuters.com Get closer to the financial markets with Reuters Messaging - for more information and to register, visit http://www.reuters.com/messaging Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd. --------------------------------------------------------------------- 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 ----------------------------------------------------------------- Visit our Internet site at http://www.reuters.com Get closer to the financial markets with Reuters Messaging - for more information and to register, visit http://www.reuters.com/messaging Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd. --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org