Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 71302 invoked from network); 7 Oct 2008 17:42:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Oct 2008 17:42:25 -0000 Received: (qmail 95710 invoked by uid 500); 7 Oct 2008 17:42:21 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 95696 invoked by uid 500); 7 Oct 2008 17:42:21 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 95612 invoked by uid 99); 7 Oct 2008 17:42:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2008 10:42:21 -0700 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=DNS_FROM_SECURITYSAGE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [68.142.207.198] (HELO web32405.mail.mud.yahoo.com) (68.142.207.198) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 07 Oct 2008 17:41:18 +0000 Received: (qmail 73861 invoked by uid 60001); 7 Oct 2008 17:40:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=eE9mFrwjVtuN/be7stFgFQgea7pqhhvyCBHNOPH4+7953TbucZZ/x8ZY+/1d1XUTXFop5/HAIM7YwPb5acuQSq4KZdF1sSRfOwqOi7r1I6EFadR0Wqv9mc715rlPQ/wMPithHIWtANNIPc2EABloJGDs4CaeqU+pqBj0PaPH7Dk=; X-YMail-OSG: lUWDNbUVM1mudC373p3X1XBPnuQOd..ky1hDi1Ug7lZeqs3YqfWhcoMvj5v0wnF9rWJl.G_F2Lfp5EAR1orr9XZwWtAtkxw2j4ZQPxd11imOJ5MRhKkQyyljKKRuEY3oieCB Received: from [65.201.206.195] by web32405.mail.mud.yahoo.com via HTTP; Tue, 07 Oct 2008 10:40:51 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Tue, 7 Oct 2008 10:40:51 -0700 (PDT) From: Raj Reply-To: nwiraj@yahoo.com Subject: Torque generated code in a separate jar? To: Apache Torque Users List MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-449783711-1223401251=:59481" Message-ID: <485007.59481.qm@web32405.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-449783711-1223401251=:59481 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Greetings All, We currently have the torque generated code in the same eclipse java project as rest of the business layer code. The torque code (BaseXxx, XxxMapBuilder) sits in a separate package 'com.compan= y.project.base'and gets compiled into a jar along with rest of the applicat= ion code. We are looking into creating a separate (persistence) project for the generated code and generate a jar that can be used in the business tier code in a different (business) project. The business project will also have the XxxPeer & Xxx classes that gets generated by torque but is=A0 modified. This way there will a lot fewer java files to work with whi= le searching, checkin , checkouts etc. Please let me know if you see any issues with this approach? Or is it somet= hing that we should have done in the first place? :) Cheers, Raj =0A=0A=0A --0-449783711-1223401251=:59481--