On Mar 20, 2010, at 11:19 AM, Daniel Beatty wrote:

Greetings ladies and gentlemen,
I am running to a bit of trouble with a section of a my model as I am testing through D2W. I am coming up with an Illegal State Exception that reads as follows:

java.lang.IllegalStateException: sqlStringForKeyValueQualifier: attempt to generate SQL for com.webobjects.eocontrol.EOKeyValueQualifier (dataReductionSources ._eofInv_DataReductionScalar_dataReductionSources.id = 21) failed because attribute identified by key 'dataReductionSources ._eofInv_DataReductionScalar_dataReductionSources.id' was not reachable from from entity 'PhotoSource'

I am having a hard time matching the names in that up with your model diagram. It is trying to determine the join conditions needed for the qualifier and can't get from A to B based on the information in your model and its best guesses.

Look at the relationships between DataReductionScalar and PhotoSource.

What is the qualifier?


Chuck


The section of my model that this pertains to looks as follows:
<PastedGraphic-2.pdf>
I am at a bit of a loss to make sense of why this error is cropping up. Any ideas?

Thank you,




Dan Beatty, M.S. CS (B.S. EECS)
Ph.D. Student
Texas Tech University
[email protected]
http://venus.cs.ttu.edu/~dabeatty
http://web.me.com/danielbeatty/My_Home_Page/Welcome.html

--
Chuck Hill             Senior Consultant / VP Development

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 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