ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rinaldo Bonazzo <rbona...@sardiniapoint.it>
Subject Re: Unknown Column Name problem
Date Tue, 09 Oct 2007 08:34:23 GMT
Claus Hausberger ha scritto:
> 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 ?
>   
Yes
> currently there are seven columns mentionned in the ResultMap and when I specify all
seven or when I use "Select *" it works, but when I specify only two or three it does not
work.
>
> best wishes
>
> Claus
>
>   
>> Could you post your Select that causes error and ResultMap?
>>
>> If you omit column that's present in the ReusltMap I guess you'll get
>> invalid column name exception...
>>     
>
>   


Mime
View raw message