ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mississippi John Hurt" <johnh...@gmail.com>
Subject Configure Ibatis to Auto-Truncate Property length when Insert to Database?
Date Fri, 22 Sep 2006 19:16:04 GMT
Is there a way to easily configure the mapping xml to automatically truncate
any properties to set lengths before inserting into the database?  That
could be a nice feature. It could be like...

insert into TABLE (COL1, ...
values (

Is this possible?  How do you easily do this if not?

View raw message