• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
max string length / textarea form
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

max string length / textarea form


  • Subject: max string length / textarea form
  • From: Dev WO <email@hidden>
  • Date: Fri, 26 Aug 2005 03:40:08 +0200

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?!


The database is MySQL and the type is MEDIUMTEXT.

If I add content directly to the database, the application is able to get it and display the entire content, but if I try to update is crashes with:
[2005-08-26 03:36:18 CEST] <WorkerThread3> <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request:
com.webobjects.eoaccess.EOGeneralAdaptorException: updateValuesInRowDescribedByQualifier -- com.webobjects.jdbcadaptor.JDBCChannel method failed to update row in database


Anyone experience problem with long strings? Do I have to set something to handle the long string correctly?

Thanks for your pointers:)

Xavier

_______________________________________________
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


  • Follow-Ups:
    • Re: max string length / textarea form
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Prototypes and Inheritance
  • Next by Date: Re: Embedding frameworks in app bundle
  • Previous by thread: Re: Prototypes and Inheritance
  • Next by thread: Re: max string length / textarea form
  • Index(es):
    • Date
    • Thread