Re: Turning off Entity Modeler warning messages.
Re: Turning off Entity Modeler warning messages.
- Subject: Re: Turning off Entity Modeler warning messages.
- From: Chuck Hill <email@hidden>
- Date: Tue, 17 Jul 2007 09:47:41 -0700
Don't expose the PK. You don't really need to. See
com.webobjects.eoaccess.EOUtilities
public static EOEnterpriseObject objectWithPrimaryKeyValue
(EOEditingContext ec,
String
entityName,
Object
value)
public static NSDictionary primaryKeyForObject(EOEditingContext ec,
EOEnterpriseObject
object)
Chuck
On Jul 17, 2007, at 9:36 AM, Mike Schrag wrote:
not at the moment
On Jul 17, 2007, at 12:30 PM, Galen Rhodes wrote:
Actually I'll repost that question because I have two tables that
are in a one-to-one relationship and the PK on one of the tables
needs to be exposed but Entity Modeler keeps complaining about it.
Is there any way to turn off that message?
On Jul 17, 2007, at 12:15 PM, Galen Rhodes wrote:
Scratch that. I was thinking in reverse. I thought it was
because the PK was exposed but instead it's because the FK is
exposed. Opps.
On Jul 17, 2007, at 12:00 PM, Galen Rhodes wrote:
Is there any way to turn off the "<somefield> is a class
property, but is used as a foreign key" warning message in
Entity Modeler? I'm using the latest stable builds.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mdimension.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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