EOAttribute.width()
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