Re: Unknown Column Name problem

2007-10-09 Thread Claus Hausberger
I currently do not have access to the sources because I am not in the office, but what you write is exactly my problem. do I always have to specify all column names in the query that are also in the ResultMap ? currently there are seven columns mentionned in the ResultMap and when I specify all

Re: Unknown Column Name problem

2007-10-08 Thread Claus Hausberger
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 l

Re: Unknown Column Name problem

2007-10-05 Thread Claus Hausberger
t I have some type as the mapping files are generated by Abator. best wishes Claus > Can you provide the log? Maybe error is raised not at the query execution > but while mapping > resultset to java object, i.e. you have typo in columnname in resultMap > > On 10/5/07, Cl

Re: Unknown Column Name problem

2007-10-04 Thread Claus Hausberger
he error. Claus > It sounds like you should set remapResults="true" in the element. > > Jeff Butler > > > > On 10/4/07, Claus Hausberger <[EMAIL PROTECTED]> wrote: > > > > Hello > > > > I am using IBatis 2.3 with Spring and a Oracle

Unknown Column Name problem

2007-10-04 Thread Claus Hausberger
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