Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 46196 invoked from network); 11 Jul 2008 13:16:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jul 2008 13:16:16 -0000 Received: (qmail 15150 invoked by uid 500); 11 Jul 2008 13:16:15 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 15133 invoked by uid 500); 11 Jul 2008 13:16:14 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 15122 invoked by uid 99); 11 Jul 2008 13:16:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2008 06:16:14 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [209.86.89.69] (HELO elasmtp-mealy.atl.sa.earthlink.net) (209.86.89.69) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2008 13:15:22 +0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=YuEHG5XsugLoJV5hZ25KHB8P0UzQCC45NZSDw2xLE+ZlVHO30IvGjCDX24NrWLO4; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-ELNK-Trace:X-Originating-IP; Received: from [69.33.218.66] (helo=[172.17.1.16]) by elasmtp-mealy.atl.sa.earthlink.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1KHITQ-0001Tf-St for user-java@ibatis.apache.org; Fri, 11 Jul 2008 09:15:45 -0400 Message-ID: <48775D02.8010805@earthlink.net> Date: Fri, 11 Jul 2008 09:15:46 -0400 From: Jeff Stahl User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: user-java@ibatis.apache.org Subject: Re: nullValue and empty Sring References: <18362864.post@talk.nabble.com> In-Reply-To: <18362864.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: 7abbeb5438300d52d780f4a490ca6956abb457f1b4332f528619b49e0879ab8a22823bec4db78717350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 69.33.218.66 X-Virus-Checked: Checked by ClamAV on apache.org Don't you have to put the CHAR in quotes as well? CarloV wrote: > If i want to set a nullValue replacement for an empty String i use this in an > explicit parameterMap > > > > If i want to do the same thing using inline parameters how should i write > the statement? > > I tried whit > > #codCopiaEsito,jdbcType=CHAR,nullValue=""# > > and > > #codCopiaEsito,jdbcType=CHAR,nullValue=# > > but it doesn't work. > > Thanks > Carlo >