public void awakeFromInsertion(EOEditingContext ec) {
       super.awakeFromInsertion(ec);
       setResourceType(ResourceType.Resource2);
   }

Also, in case it matters, resourceType is a javaEnum.
Bingo. Changed it to a varchar50/String(RTRIM) and it works exactly as expected.

Not too sure if this qualifies as a bug or as a worst practice. Either way, thanks for the brain tweaks as they led me to solving in minutes something which has been driving me nuts all day.

_______________________________________________
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