Hi, Sounds strange, just tested with a VARCHAR(1000) on hypersonicsql and Oracle, no problem.
Thomas Olausson wrote:
I'm mapping a simple java string, like this:
<field name="longText" type="string"> <sql name="long_text" type="char"/> </field>
The long_textcolumn in the database is varchar(1000), but the inserted data gets clipped at 256 bytes!
Is this a feature or a bug? I run DB2 v7.2.
Handcoding a JDBC statement works, so I know it's not a JDBC issue.
[haven't seen this in the searchable archive, but it seems like a very basic "bug"]
I've tried to change the type to <sql name="long_text" type="varchar"/> and also
<sql name="long_text" type="longvarchar"/>
but no effect.
Regards, /Thomas
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
--
Mickael Guessant
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
