Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 48269 invoked from network); 10 Mar 2004 08:09:52 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 10 Mar 2004 08:09:52 -0000 Received: (qmail 55734 invoked by uid 500); 10 Mar 2004 08:09:28 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 55717 invoked by uid 500); 10 Mar 2004 08:09:28 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 55697 invoked from network); 10 Mar 2004 08:09:28 -0000 Received: from unknown (HELO msx.drei.com) (213.94.78.66) by daedalus.apache.org with SMTP; 10 Mar 2004 08:09:28 -0000 Received: from msx.drei.com ([10.249.20.17]) by msx.drei.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 10 Mar 2004 09:09:35 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Questions on torque Date: Wed, 10 Mar 2004 09:09:33 +0100 Message-ID: <90B3A0967470D44CB8FDE74907512328F1CE1F@av1s008.at-work.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Questions on torque Thread-Index: AcQGEdquIfs5S/cQRMuTF9KpAPnn8gAYw1cQ From: =?iso-8859-1?Q?=22G=F6schl=2CSiegfried=22?= To: "Apache Torque Developers List" , X-OriginalArrivalTime: 10 Mar 2004 08:09:35.0601 (UTC) FILETIME=[06ABBE10:01C40677] 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 Hi Andrej, I give it a shot even if I know only half of the Torque things I should = know ... :-) +) Yes, you can select attributes from different tables in one select = (checkout http://db.apache.org/torque/criteria-howto.html) +) Outer Joins (I just checked out what this is) - you can extend = Torque, you can execute your own plain SQL queries and map them to = objects, you can run a stored procedure, you can tweak the criterias but = I don't know if Torque natively supports outer joins (especially for = your database). I would assume yes +) Yes, you can enhance Torque. The generated objects are designed to be = extended by inheritance and in some cases you can tweak the code = generation mechanism Torque is using (I added some more caching for the = Torque generated code) The problems you could have +) What type of database are using (JDBC driver support, primary key = generation) +) When you delete records using Torque they should have a primary key And one final point - I you use Torque setup a few JUnit tests to see if = you run into any problems . Cheers, Siegfried Goeschl -----Original Message----- From: Andrej Konkow [mailto:konkow@independencesoft.com] Sent: Tuesday, March 09, 2004 9:05 PM To: torque-dev@db.apache.org Subject: Questions on torque Hi there, =20 I am writing you as I didn't find a clear address where I can ask some questions about Torque. I am a Java Architect/Developer. We have implemented a persistence layer = for a project we are working in. At the moment I am evaluating whether we should enhance our solution or prefer another. Some of the main points for our decision is: - Is it possible to select attributes from different tables in one = select? For example: select A.a, B.a from A, B where ... - Is it possible to define outer joins (we need them for performance = reasons because the selects take long)? If not, how much effort is it to enhance torque? =20 The system we are working on is a large DB legacy system (about 300 = tables each ca. 30-40 attributes and not in every case a clear foreignkey-definition) =20 Can you tell me whether these points are possible with Torque of not? I haven't found an answer in the documentation. =20 Thanks in advance =20 Andrej =20 --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org