Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 57574 invoked from network); 28 Nov 2005 16:19:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Nov 2005 16:19:00 -0000 Received: (qmail 29565 invoked by uid 500); 28 Nov 2005 13:22:10 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 29548 invoked by uid 500); 28 Nov 2005 13:22:10 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 29531 invoked by uid 99); 28 Nov 2005 13:22:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Nov 2005 05:22:10 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of larry.meadors@gmail.com designates 64.233.162.199 as permitted sender) Received: from [64.233.162.199] (HELO zproxy.gmail.com) (64.233.162.199) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Nov 2005 05:23:40 -0800 Received: by zproxy.gmail.com with SMTP id i1so892200nzh for ; Mon, 28 Nov 2005 05:21:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qmoqx0Nh7FgamGQ+IPsNDybRyY8QiyU5ExTcWFEFywkfhkkjfzZiW714TXGDQpDdqtXVnTQ1o3V9qvjLlsiuF821fzLZ94aqRaimRebLi3P21qmJfrdzi0O7m48SpGXgeMbJcPGc5sNK3gjpNlPHtFUQSv2FAGBvQs2Z854oWIU= Received: by 10.36.115.10 with SMTP id n10mr3306652nzc; Mon, 28 Nov 2005 05:21:49 -0800 (PST) Received: by 10.36.120.8 with HTTP; Mon, 28 Nov 2005 05:21:48 -0800 (PST) Message-ID: Date: Mon, 28 Nov 2005 06:21:48 -0700 From: Larry Meadors Reply-To: lmeadors@apache.org Sender: larry.meadors@gmail.com To: Struts Users Mailing List Subject: Re: [OT] performance of JDBC only, without Hibernate or iBatis In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <9b8dcb1d0511271803s8b1e4d4s45d6df5616081e09@mail.gmail.com> <20051128051435.37958.qmail@web32603.mail.mud.yahoo.com> <9b8dcb1d0511272224s73d9b630ne81673e7ac80592f@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 11/28/05, Raghu Kanchustambham wrote: > I have not worked with iBATIS... and the intention was not to compare > hibernate vs. iBATIS .... Heh, mine was. :) > The recommendation I was making was to use Hibernate instead > of raw JDBC calls embedded in your code. I am still not willing to go that far. I would much prefer seeing JDBC code in a data access layer to hibernate in a struts action class. JDBC is not evil, just low-level. The decision to use hibernate or iBATIS is more than "Ew, this connection stuff looks icky..." and will make your application *worse* if not done thoughtfully. > And surely ... designing your database the "hibernate way" brings > in some constraints which I think is OK if you are starting something > fresh... and as Larry pointed out may or may not be worth a > re-engineering effort. Agreed. Larry --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org