Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 73187 invoked from network); 4 Oct 2007 20:02:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Oct 2007 20:02:44 -0000 Received: (qmail 96080 invoked by uid 500); 4 Oct 2007 20:02:32 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 96059 invoked by uid 500); 4 Oct 2007 20:02:32 -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 96048 invoked by uid 99); 4 Oct 2007 20:02:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2007 13:02:32 -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: domain of CHausberger@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 04 Oct 2007 20:02:32 +0000 Received: (qmail 16763 invoked by uid 0); 4 Oct 2007 20:02:11 -0000 Received: from 87.174.181.189 by www110.gmx.net with HTTP; Thu, 04 Oct 2007 22:02:10 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" Date: Thu, 04 Oct 2007 22:02:11 +0200 From: "Claus Hausberger" Message-ID: <20071004200211.109780@gmx.net> MIME-Version: 1.0 Subject: Unknown Column Name problem To: user-java@ibatis.apache.org X-Authenticated: #37391989 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX19vaqFNCadvSnEwUR7EB1llrVIL49F1tMZTVSVpeG v0aYkF4Ppwsd4jqmo7RCoCVSSuG6JpxwPKrw== Content-Transfer-Encoding: 7bit X-GMX-UID: pjdsKJASMydhZCLbUGhlvBVjaGRhZto/ X-Virus-Checked: Checked by ClamAV on apache.org Hello I am using IBatis 2.3 with Spring and a Oracle 10g database.When I use a select query where I specify the columns I always get an "Unknown column name" error. But the database does not say which column. I switched one debugging output with a log4j.xml to get the SQL IBatis uses for the query. When I copy the query of the log output into an Oracle client and execute the SQL, it works fine. any idea what I might be doing wrong here ? best wishes Claus -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser