Re: Single-table inheritance error [SOLVED]
Re: Single-table inheritance error [SOLVED]
- Subject: Re: Single-table inheritance error [SOLVED]
- From: Jon Nolan <email@hidden>
- Date: Wed, 30 Sep 2009 15:24:51 -0600
- Organization: Loch Garman
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden