Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 52421 invoked from network); 5 Feb 2003 07:22:44 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 5 Feb 2003 07:22:44 -0000 Received: (qmail 29342 invoked by uid 97); 5 Feb 2003 07:24:12 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@nagoya.betaversion.org Received: (qmail 29335 invoked from network); 5 Feb 2003 07:24:12 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 5 Feb 2003 07:24:12 -0000 Received: (qmail 46303 invoked by uid 500); 5 Feb 2003 07:21:37 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 46158 invoked from network); 5 Feb 2003 07:21:35 -0000 Received: from h-64-105-49-210.cmbrmaor.covad.net (HELO linux.blackbear.com) (64.105.49.210) by daedalus.apache.org with SMTP; 5 Feb 2003 07:21:35 -0000 Received: from blackbear (james [192.168.1.10]) by linux.blackbear.com (8.12.5/8.12.5) with ESMTP id h157LXHF023516 for ; Wed, 5 Feb 2003 02:21:36 -0500 From: "James Turner" To: "'Struts Users Mailing List'" Subject: RE: [OT] Which Object Relational mapping tool? Date: Wed, 5 Feb 2003 02:21:35 -0500 Message-ID: <002401c2cce7$3784d8c0$b4023e18@blackbear> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <20030204224247.I45389@icarus.apache.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > On Tue, 4 Feb 2003, Jacob Hookom wrote: >=20 > > Date: Tue, 4 Feb 2003 23:56:39 -0600 > > From: Jacob Hookom > > Reply-To: Struts Users Mailing List > > To: 'Struts Users Mailing List' > > Subject: RE: [OT] Which Object Relational mapping tool? > > > > In my opinion, this topic is just fine-- it comes up every week :-) > > > > I personally dislike O/R mappers because in most cases, I=20 > completely=20 > > agree that beans and db should be separated, but it's at=20 > the point of=20 > > merger that things get overly complex at the expense of an=20 > additional=20 > > layer that needs just as much configuring as writing your=20 > sql code for=20 > > each use case. I've had very good luck with Torque, I'm maintaining code for some fairly hairy insurance-related applications (can you say lots and lots of joins?), and Torque has made writing the persistence layer a piece of cake. It used to be the thing that gave me the most tsuris, now it's one of the easiest tasks. As to seperation of beans and db, I've always believed you can take abstraction to far. Torque does a good job of hidding all the db-specific details inside auto-generated classes, leaving your business-specific code in files that are db-independent (the Foo classes as opposed to the BaseFoo classes). James Turner Owner & Manager, Black Bear Software, LLC turner@blackbear.com Author:=20 MySQL & JSP Web Applications:=20 Data Driven Programming Using Tomcat and MySQL ISBN 0672323095; Sams, 2002 Co-Author:=20 Struts Kick Start ISBN 0672324725; Sams, 2002 Forthcoming: JavaServer Faces Kick Start=20 Sams, Fall 2003 --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org