Re: max string length / textarea form
Re: max string length / textarea form
- Subject: Re: max string length / textarea form
- From: Wolfram Stebel <email@hidden>
- Date: Fri, 26 Aug 2005 20:33:41 +0200
Am 26.08.2005 19:05 Uhr schrieb "Dev WO" unter <email@hidden>:
> Hi Joshua,
>
>> Have you checked the width/type of the column in your database? I
>> don't know enough about MySQL, but I believe there are different
>> types of TEXT, in addition to the usual VARCHAR and BLOB types.
> Yes, I've checked because when I starting experiencing the issue I
> though it would come from that.
> So I checked the value of TEXT and it should have been OK, but just
> in case I changed to MEDIUMTEXT which is supposed to hold 16M of
> characters! and I'm starting having problems when I cross the 255
> characters, everything bigger than 255 gets truncated by 5 to 10
> characters!
>>
>> Just a thought.
>>
>> - josh
>>
>>
I had a similar problem when changing from VARCHAR to TEXT.
In VARCHAR i had a width setting, switched to TEXT and as far as i remember,
i had to remove the width setting for correct TEXT handling.
255 is the max length of a varchar field and the docs says: mysql converts
automatically to bigger text types. Probably the handling in the different
layers is not consistent.
Someone mentioned a driver/adaptor problem...
Regards
Wolfram
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden