Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 51888 invoked from network); 15 Dec 2008 20:44:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Dec 2008 20:44:44 -0000 Received: (qmail 54386 invoked by uid 500); 15 Dec 2008 20:44:52 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 54362 invoked by uid 500); 15 Dec 2008 20:44:52 -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 53983 invoked by uid 99); 15 Dec 2008 20:44:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2008 12:44:51 -0800 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=RCVD_ILLEGAL_IP,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [85.18.95.73] (HELO aa013msr.fastwebnet.it) (85.18.95.73) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2008 20:44:37 +0000 Received: from minisvarionz.fastwebnet.it (5.0.140.34) by aa013msr.fastwebnet.it (8.0.013.8) id 491A614E04844940 for user-java@ibatis.apache.org; Mon, 15 Dec 2008 21:44:16 +0100 Date: Mon, 15 Dec 2008 21:44:13 +0100 To: user-java@ibatis.apache.org Subject: Re: Wrong sorting when using orderBy clause From: "Corrado Alesso" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: <1EA8D28D-6749-40E5-920A-75CC33B323BB@gmail.com> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: User-Agent: Opera Mail/9.51 (Win32) X-Antivirus: avast! (VPS 081215-1, 15/12/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org THE COMMENT. It was the comment in the query. It looks like pgAdmin can digest the comment in the query, while JDBC not. My eyes were also commenting out that line, because I didn't realized till now... Guys, sorry for the time I made you waste on this thread and for doubting about iBatis, I was really getting mad on this problem.