Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 11166 invoked from network); 31 Oct 2010 20:35:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 31 Oct 2010 20:35:26 -0000 Received: (qmail 50931 invoked by uid 500); 31 Oct 2010 20:35:57 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 50909 invoked by uid 500); 31 Oct 2010 20:35:57 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 50901 invoked by uid 99); 31 Oct 2010 20:35:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Oct 2010 20:35:57 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [62.13.149.120] (HELO outmail149120.authsmtp.net) (62.13.149.120) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Oct 2010 20:35:48 +0000 Received: from mail-c187.authsmtp.com (mail-c187.authsmtp.com [62.13.128.33]) by punt6.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id o9VKZRLa064512 for ; Sun, 31 Oct 2010 20:35:27 GMT Received: from dhcp-wlan29.home.lan (p5B28286D.dip0.t-ipconnect.de [91.40.40.109]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2) with ESMTP id o9VKZMlG057867 for ; Sun, 31 Oct 2010 20:35:22 GMT Message-ID: <4CCDD33A.4080500@apache.org> Date: Sun, 31 Oct 2010 21:36:10 +0100 From: Thomas Vandahl User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.11) Gecko/20101013 Lightning/1.0b2 Thunderbird/3.1.5 MIME-Version: 1.0 To: Apache Torque Developers List Subject: Re: created torque 4 branch with village removed References: In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Server-Quench: 628b0c5e-e52e-11df-ab46-001185d377ca X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdyaAgQClZJUiwT EioPDCIGTh8qMAFL GwYeIE5WLUQhWQ4X O15TJVpedloGSkcC Anl0CBBLUl1wWXN3 awBSaA9fYARHXhtu UFZNQkxTFAx3AxkD AwEeHEZ7EX4sBSIH ZUNlVnZcEkZ7cEIz RExcR21VYDJ9PWUd BV1ZdlcCbVIYehlY alB+VXsINWYAYSkx CTU+bXg6JzhWNClZ Ch0KN0sPTA5XVjQm ThYJHX0wHFEFDzsy KxgvJVNUBksUNVs/ PTMA X-Authentic-SMTP: 61633138303539.1000:706 X-AuthFastPath: 0 (Was 255) X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. Hi Thomas, On 29.10.10 22:24, Thomas Fox wrote: >> Of course there are a few things left to do (which I will hopefully > tackle >> in the next few weeks): Great stuff you did. I thought this would need much more time. Respect. >> - check whether to revive the doPsSelect methods or whether all selects > can >> use prepared statements > > Re-added BasePeer.doPSSelect() for now. This method has some weaknesses IIRC. It dos not work correctly with selects containing joins. I'd prefer to use prepared statements for all selects if at all possible and I don't think we need separate methods. >> - there was come code in doDelete which handled cascading deletes (at > leats >> theoretically, never saw it working) tris needs to be reimplemented > > Not re-added. The code can definitely not have worked for composite foreign > keys because there is no way to tell a composite foreign key from the > database map. Still I'm pretty sure that deletes containing joins do not work correctly. So there should be another solution some day. >> - Maybe one can clean up LargeSelect from the reflection stuff therein > > Not while the Peers have static methods. >> ... I beg to differ. LargeSelect just tries to call the methods addSelectColumns() and populateObject() on the given builder class. You can provide any class you want here. I'd prefer to use some kind of Builder-interface for this, however. Bye, Thomas. --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org