• 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
EOAttribute.width()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EOAttribute.width()


  • Subject: EOAttribute.width()
  • From: Florijan Stamenkovic <email@hidden>
  • Date: Wed, 03 Sep 2008 13:12:10 -0400

Hi all,


The documentation for the EOAttribute.width() says:

"Returns the maximum length (in bytes) for values that are mapped to this attribute. Returns zero for numeric and date types."

So, according to this the maximum length in characters (for textual attributes) would be determined by the encoding used. However, a simple test trying to validate a String attribute shows that the width is validated against the length in characters. Since neither Java nor the DB is encoding in 8bits. So, is this a mistake in the docs or am I missing something?

F
_______________________________________________
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: EOAttribute.width()
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Invalidating objects asynchronously + Terracotta + Groovy
  • Next by Date: Re: EOAttribute.width()
  • Previous by thread: Re: passing object to component problem
  • Next by thread: Re: EOAttribute.width()
  • Index(es):
    • Date
    • Thread