• 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
Data too long for column (not really)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Data too long for column (not really)


  • Subject: Data too long for column (not really)
  • From: John Pollard <email@hidden>
  • Date: Mon, 8 Mar 2010 16:22:12 +0000

Probably OT, but, is there a simple fix for the problem when saving some text that contains special characters where the error misleadingly says the column is too long when it isn't (using mysql mysql-standard-5.0.18-osx10.4-i686):

   Next exception:SQL Warning:01004 -- error code: 0 -- msg: Data truncation: Data too long for column 'NAME' at row 1
	at com.webobjects.eoaccess.EODatabaseContext._exceptionWithDatabaseContextInformationAdded(EODatabaseContext.java:4500)
	at com.webobjects.eoaccess.EODatabaseContext.performChanges(EODatabaseContext.java:6212)
	at com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:376)
	at com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3176)

inserting some text like: L?kensgård

What is my best plan of attach. I have done some googling and have ended up being very confused.

Thanks
John _______________________________________________
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: Data too long for column (not really)
      • From: Kieran Kelleher <email@hidden>
  • Prev by Date: Re: user is only allowed to log in once
  • Next by Date: Re: user is only allowed to log in once
  • Previous by thread: Re: user is only allowed to log in once
  • Next by thread: Re: Data too long for column (not really)
  • Index(es):
    • Date
    • Thread