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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to