ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joachim Hoffmann <j.hoffm...@mine-it.at>
Subject example for mapping CHAR(n) to String
Date Wed, 14 Sep 2005 17:09:35 GMT
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