Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 18883 invoked from network); 21 Mar 2007 11:44:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Mar 2007 11:44:21 -0000 Received: (qmail 53915 invoked by uid 500); 21 Mar 2007 11:44:27 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 53585 invoked by uid 500); 21 Mar 2007 11:44:26 -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 53574 invoked by uid 99); 21 Mar 2007 11:44:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2007 04:44:26 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of mailtolanger@googlemail.com designates 209.85.134.191 as permitted sender) Received: from [209.85.134.191] (HELO mu-out-0910.google.com) (209.85.134.191) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2007 04:44:17 -0700 Received: by mu-out-0910.google.com with SMTP id w1so388618mue for ; Wed, 21 Mar 2007 04:43:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=cX671IxZbTDVXNk+GJSTOSwOCNG8r9I54ojMB4fo6MiKnkYFF+ehF1fJf7A4dHNCCc0cnKyxrV0XUs6zl1S93LLDUoHwcg+Lbwb0Vx7B8zc7gvFxbAeowXe2mXaMT7gLTa4Bc6MliEyvHC0e4hUo32yAGyVzbfCa9FAorVNRzT0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=emLv2CMBNBckOp6K3j4oeLqSL1Oj5UcQtZPK88B+DB0KTXfw6tqlq458KGnpy82U2I/EB84jHs0wKKpYQDiyiLkC/IA6UrucNZFrfOsxqBrG1nstyLFNaNteG71rcgpV91S16QD6oYK3L4AYuI4njV+oXXll4wrJAqV/YfUxFCY= Received: by 10.82.138.6 with SMTP id l6mr1475883bud.1174477435957; Wed, 21 Mar 2007 04:43:55 -0700 (PDT) Received: from ?10.1.0.146? ( [82.135.46.154]) by mx.google.com with ESMTP id y6sm6469749mug.2007.03.21.04.43.54; Wed, 21 Mar 2007 04:43:55 -0700 (PDT) Message-ID: <46011A79.6020209@googlemail.com> Date: Wed, 21 Mar 2007 12:43:53 +0100 From: Stefan Langer User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: user-java@ibatis.apache.org Subject: Re: Locale problems? References: <1174380934.45ffa186775ff@www.kattare.com> <1174394817.45ffd7c17e0b6@www.kattare.com> <1174404468.45fffd74273cc@www.kattare.com> <1174408993.46000f21b96ca@www.kattare.com> <1174412715.46001dab17ece@www.kattare.com> <1174476522.460116ea1b99b@www.kattare.com> In-Reply-To: <1174476522.460116ea1b99b@www.kattare.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org andrew.kitchen@kattare.com schrieb: > Hi Greame, > > Thanks for your efforts again. > > >>> --- Check the result mapping for the 'lastLogin' property. >>> --- Cause: com.ibatis.common.exception.NestedRuntimeException: >>> >> Error >> >>> setting properties of 'BaseObject [107, null, null, null]'. Cause: >>> java.text.ParseException: Unparseable date: "1975-01-15" >>> >> According to this 'lastLogin' is of type 'datetime' but is >> receiving a 'date' formatted result which means it's receiving >> the wrong column value when deployed on the remote server. >> > > I think the two errors are unconnected. The unparseable 'date' shown is > from the dob column not the lastLogin column. I think that is a red > herring. I have no idea why 'lastLogin' is causing an issue as well. > > > >> I can't see why this would help since User.userResult has column >> mapping but change >> >> >>> >> parameterClass="string"> >>> select * from User where emailAddress = #value# >>> >>> >> to >> >> select id, title, firstName, lastName, gender, dob, telephoneNumber, >> emailAddress, password, newsletter, preferredCurrency, activationKey, >> activated, lastLogin from User where emailAddress = #value# >> > > You are right - no effect when the change made I'm afraid :-( > > Back to the drawing board again I think. I appreciate your help here - > thanks again! > > Andrew Have you actually looked at the data the jdbc driver gives you from your database? DO this for both servers and compare. Maybe the issue lies somewhere between iBatis and the Database. Regards Stefan