ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Hausberger" <CHausber...@gmx.de>
Subject Re: Unknown Column Name problem
Date Mon, 08 Oct 2007 11:55:42 GMT
Hello

I checked the configuration. everything looks fine.

when I write "SELECT *...." everything is ok. when specify all column names
in the SELECT query it works too (example: SELECT COL1, COL2, COL3 FROM TABLE).
only when I specify only some of the columns it does not work.

Claus

> Well, as long as error is after
> 
> DEBUG ResultSet - {rset-100002} ResultSet
> DEBUG SimpleDataSource - Returned connection 33534746 to pool.
> 
> it seems to me that error occured after executing PreparedStetement,
> retrieving resultset and even returning connection to pool. Next comes
> mapping resultset to objects, so likely you have typo in your ResultMap -
> wrong column name there...

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

Mime
View raw message