Return-Path: Mailing-List: contact ibatis-user-java-help@incubator.apache.org; run by ezmlm Delivered-To: mailing list ibatis-user-java@incubator.apache.org Received: (qmail 46012 invoked by uid 99); 2 Feb 2005 02:07:49 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtp.syd.swiftdsl.com.au (HELO smtp.syd.swiftdsl.com.au) (218.214.224.138) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 01 Feb 2005 18:07:47 -0800 Received: (qmail 12145 invoked from network); 2 Feb 2005 02:07:51 -0000 Received: from unknown (HELO ?192.168.1.20?) (202.154.115.188) by smtp.syd.swiftdsl.com.au with SMTP; 2 Feb 2005 02:07:51 -0000 Message-ID: <420035EF.4090109@swiftdsl.com.au> Date: Wed, 02 Feb 2005 13:07:43 +1100 From: Huy User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: ibatis-user-java@incubator.apache.org CC: Bing Zou Subject: Re: A question about nullValue in resultMap. References: <42fd16a805012812104c7cdca1@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked Larry Meadors wrote: > Just curious: If you can have null values, why are you using primitive > values. Well primitives are easier to work with in Java IMO. > You do realize that even if we do not call the setter, the > property holder will be set to 0 anyway, right? Which I guess is the point, so why do we have to specify this in sqlmap. Regards, Huy