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 protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>>> 
>>> This email sent to [email protected]
>> 
>> -- 
>> 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 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