Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 45976 invoked from network); 2 Mar 2004 14:13:15 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Mar 2004 14:13:14 -0000 Received: (qmail 11312 invoked by uid 500); 2 Mar 2004 14:13:08 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 11297 invoked by uid 500); 2 Mar 2004 14:13:08 -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 11279 invoked from network); 2 Mar 2004 14:13:07 -0000 Received: from unknown (HELO gw.reea.net) (193.230.173.18) by daedalus.apache.org with SMTP; 2 Mar 2004 14:13:07 -0000 Received: from reea.net (andras.ms.reea.net [192.168.0.2]) by gw.reea.net (8.12.8/8.12.8) with ESMTP id i22ED7TJ008878 for ; Tue, 2 Mar 2004 16:13:07 +0200 Message-ID: <4044967E.1040604@reea.net> Date: Tue, 02 Mar 2004 16:13:18 +0200 From: Andras Balogh User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Apache Torque Users List Subject: Re: simple join problem References: <4CD13C22AD120746998F4C066E38DCE1085ED1@satlexh04.novainfo.com> In-Reply-To: <4CD13C22AD120746998F4C066E38DCE1085ED1@satlexh04.novainfo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Travis, I think there currently there is no method to allow passing a Connection object also. I see 3 possibilities: 1) Let Torque get the Connection the same way you get it (see in torque.properties there is an option also for jndi and I think also more, maybe you can make a connection factory of your own For torque ??) 2) Modify the generate process to add an extra parameter Connection in the *Peer join methods 3) Move the whole method from Base*Peer to *Peer by hand and modify there to have a 2 parameter (Criteria,Connection ) Best wishes, Andras. Travis.Prescott@novainfo.com wrote: >Andras, >Of course, when you use the "addJoin" & not the "add", it works just fine. >Any idea how to use your own connection when using the *Peer join methods? >As I mentioned, I need to have the application server manage the datasource >for me so I have been using the methods that take a connection as well as a >Criteria. > >Travis > > > --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org