• 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: Problems with a fetch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with a fetch


  • Subject: Re: Problems with a fetch
  • From: Pascal Robert <email@hidden>
  • Date: Fri, 14 Nov 2008 16:21:19 -0500

Well, like Miguel said, I should use Examen.ENTITY_NAME, not Examen.class.getName(), who will return the full name with the package...

I'm stumped on this one. I have a call to objectsWithFetchSpecification() who is telling me :

[2008-11-14 14:46:09 EST] <WorkerThread13> java.lang.IllegalArgumentException: An object store for the entity "com.acaiq.fondation.acaiqForm.Examen" could not be found. Verify that the entity is defined in an EOModel, and that the model is installed properly. To see what models are loaded, you can try printing the return value of EOModelGroup.defaultGroup() in your application.
at com .webobjects .eocontrol .EOObjectStoreCoordinator .objectsWithFetchSpecification(EOObjectStoreCoordinator.java:536)


But if I call this :

	NSLog.out.appendln(EOModelGroup.defaultGroup());

The model is listed :-/

<EOModelGroup (("ACAIQForm", "file:/Developer/WebObjects53/Library/ Frameworks/ACAIQFoundation.framework/Resources/ACAIQForm.eomodeld"), ("ExamenTelecopie",
"file:/Users/probert/Clients/OS/Code/ACAIQ/Examen/Developer/Examen/ build/Examen.woa/Contents/Resources/ExamenTelecopie.eomodeld")) >


So I have no idea on why it doesn't find the entity :-/

_______________________________________________ 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: 
 >Problems with a fetch (From: Pascal Robert <email@hidden>)

  • Prev by Date: Re: Pushing for WebObjects?
  • Next by Date: A chance to show off WO
  • Previous by thread: Problems with a fetch
  • Next by thread: Re: Problems with a fetch
  • Index(es):
    • Date
    • Thread