Re: max string length / textarea form
Re: max string length / textarea form
- Subject: Re: max string length / textarea form
- From: Dev WO <email@hidden>
- Date: Fri, 26 Aug 2005 18:54:15 +0200
On Aug 26, 2005, at 9:10 AM, Dev WO wrote:
Hi, As I was trying to get rid of a couple bugs in my application, I have found a very strange behavior: In a textarea (WOForm, using form-data as the type as there's also a WOUpload for an image), it seems that the content gets truncated when send to the database?!
What do you mean by truncated? Not sent at all? Long strings lose their end? An exception? The maximum amount of text in an text area varies with each browser. Usually around 40 - 60K I think.
Now I have some more tests done, I meant truncated, but the EOAdaptor has the entire string committed to the database. But the database doesn't have the entire string in it. So it led to the exception cannot update row describe by qualifier.
Yes, I agree. The problem lies either in the database, the JDBC driver, or in the plugin. I am surprised that the database does not return an error when it truncates the text. I don't use mySQL, so I don't have any specific suggestions on where to look.
I'm actually reading the bugs and alike of MySQL/ConnectorJ... But I really don't know why the connector couldn't do that because if it was at the database level, I shouldn't be able to use CocaoMySQL too. I think.
It's really annoying...I can't figure out the reason why:( |
_______________________________________________
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