ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <cbe...@codehammer.org>
Subject Re: example for mapping CHAR(n) to String
Date Sat, 17 Sep 2005 04:55:01 GMT
Very strange. Can you get a better exception and/or stack trace? Or post 
whatever you got here.

Clinton

On 9/14/05, Joachim Hoffmann <j.hoffmann@mine-it.at> wrote:
> 
> Could someone point me to an example how to map a limited text field to
> a string?
> I couldn't get it to work for CHAR(n)..
> 
> VARCHAR works fine,
> 
> but
> COMMENT CHAR(30)
> ...
> insert into TABLE (comment) VALUES (#comment#)
> ...
> doesn't work for me.
> iBaits returns with a "general error" and advises to check the
> ParameterMap of the insert-statment.
> 
> Regards,
> JoHo
> 
>

Mime
View raw message