Re: databaseContextNewPrimaryKey from a jar?
Re: databaseContextNewPrimaryKey from a jar?
- Subject: Re: databaseContextNewPrimaryKey from a jar?
- From: Chuck Hill <email@hidden>
- Date: Fri, 15 Jul 2011 12:09:45 -0700
Not... sure what you are doing. That is a DBC context method, so you need to set up the database context's delegate. That is probably something that happens automagically in a wonder app.
Chuck
On 2011-07-15, at 11:46 AM, Calven Eggert wrote:
> ok. I created a databaseContextNewPrimaryKey method. it never gets called. Something is not connected...
>
> Do I need to connect the EOEditingContext with the EODatabaseContext?
>
> On 2011-07-15, at 2:28 PM, Chuck Hill wrote:
>
>> Yes, you should be able to do that.
>>
>> On 2011-07-15, at 11:24 AM, Calven Eggert wrote:
>>
>>> I've created a runnable jar using WO to create records in a database. In my WO Web App I have overridden databaseContextNewPrimaryKey to create my own primary key. Can this be done from the jar too?
>>>
>>>
>>>
>>> _______________________________________________
>>> 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/products/practical_webobjects
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
--
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden