• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: XCode beginner needs help -- why does the app not recognize my enterprise object?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode beginner needs help -- why does the app not recognize my enterprise object?


  • Subject: Re: XCode beginner needs help -- why does the app not recognize my enterprise object?
  • From: Kieran Kelleher <email@hidden>
  • Date: Mon, 18 Oct 2004 13:02:17 -0400

What shows up in the Class column for the Author entity in EOModeler? It should say "Author".

-K
________________________________________________________________
Dev Config = OS X 10.3.5 / Java 1.4.2_05 / WO 5.2.3 / XCode v1.5 / MySQL 4.0.20 / Connector-J 3.0.11
Deploy Config = OS X 10.3.5 Server / Java 1.4.2_05 / WO 5.2.3 / MySQL 4.0.20 / Connector-J 3.0.11
My Blog: http://webobjects.webhop.org/


On Oct 18, 2004, at 12:18 PM, Gonzalo Moreno wrote:

Hi,

I'm building a sample Authors app as described in the
WebObjects documentation, and I'm having trouble
getting it to work. It compiles correctly, but
apparently doesn't deploy correctly.

Using EOModeler, I created an Author EO that mirrors
an AUTHOR table in the db. I added the Java class
created by EOModeler to my XCode project, making sure
its target was 'application server'.

I get the following stack trace:

Application:
Authors

Error:
com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException:
valueForKey(): lookup of unknown key: 'lastName'. This
class does not have an instance variable of the name
lastName or _lastName, nor a method of the name
lastName, _lastName, getLastName, or _getLastName

Reason:
<com.webobjects.eocontrol.EOGenericRecord 0x1ef69>
valueForKey(): lookup of unknown key: 'lastName'. This
class does not have an instance variable of the name
lastName or _lastName, nor a method of the name
lastName, _lastName, getLastName, or _getLastName


Even though Author subclasses EOGenericRecord, it's as
if the Author class isn't even taken into account ....
any ideas ??

thanks in advance,
Gonzalo.






_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
_______________________________________________
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



___________________________________
Kieran Kelleher
SmartleadsUSA,LLC
2656 West Lake Rd
Palm Harbor, FL 34684
email@hidden
727-785-0766 x33



 _______________________________________________
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

References: 
 >XCode beginner needs help -- why does the app not recognize my enterprise object? (From: Gonzalo Moreno <email@hidden>)

  • Prev by Date: Re: Quicktime - SMILE - WO ?
  • Next by Date: Re: Caching reference data
  • Previous by thread: XCode beginner needs help -- why does the app not recognize my enterprise object?
  • Next by thread: RE: XCode beginner needs help -- why does the app not recognize myenterprise object?
  • Index(es):
    • Date
    • Thread