Re: Problems changing eomodel
Re: Problems changing eomodel
- Subject: Re: Problems changing eomodel
- From: Calven Eggert <email@hidden>
- Date: Thu, 13 Sep 2012 12:52:34 -0400
It's not really. I just said that for the convenience of describing where I had actually put it in the file system. :-)
it's located in my project folder.
On 2012-09-13, at 12:43 PM, Chuck Hill wrote:
> Why is the model file on the desktop?
>
>
> On 2012-09-13, at 9:18 AM, Calven Eggert wrote:
>
>> I use connection dictionaries. don't use properties to set model. I don't use migrations.
>>
>> Here is more information:
>>
>> I make the change to the model, added the column, and then I look on the desktop for the model file. Open package contents and the look at the specific .plist file. The file there shows that I've added the new column. The last modified date though hasn't changed. this is so bizarre.
>>
>> any idea?
>>
>>
>> On 2012-09-13, at 12:08 PM, David Holt wrote:
>>
>>> Do you use connection dictionaries?
>>>
>>> Do you use properties to set your model information?
>>>
>>> Is it possible you have set your model information in two places and one that you are not expecting is overriding the other?
>>>
>>> Are you using migrations?
>>>
>>>
>>> On 2012-09-13, at 8:20 AM, Calven Eggert <email@hidden> wrote:
>>>
>>>> Hi, All
>>>>
>>>> In two different java projects in the past week I've made a change to an eomodel and in both cases the changes are not being recognized when running the program. In one case I changed my production database to test and it continues to use the production db. yikes! In my second project I've added a new column to a table in a database and when running the program the model can't find the new column in the model by giving me the error:
>>>>
>>>> java.lang.IllegalStateException: sqlStringForKeyValueQualifier: attempt to generate SQL for com.webobjects.eocontrol.EOKeyValueQualifier (email caseinsensitivelike 'email@hidden') failed because attribute identified by key 'email' was not reachable from from entity 'PrincipalInvestigator'--Error in reading study detail
>>>>
>>>> This is a real head scratcher. (I've cleaned the project. no luck there)
>>>>
>>>> Any ideas what else I can do to solve this? I haven't upgraded to mountain lion or updated any software in regards to eclipse or WOLips for quite a while. Obviously, something has changed but nothing that I'm aware of.
>>>>
>>>> Calven
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>
>>
>>
>> _______________________________________________
>> 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
>
> --
> 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/gvc/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