• 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: databaseContextNewPrimaryKey from a jar?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >databaseContextNewPrimaryKey from a jar? (From: Calven Eggert <email@hidden>)
 >Re: databaseContextNewPrimaryKey from a jar? (From: Chuck Hill <email@hidden>)
 >Re: databaseContextNewPrimaryKey from a jar? (From: Calven Eggert <email@hidden>)

  • Prev by Date: Re: databaseContextNewPrimaryKey from a jar?
  • Next by Date: Re: ERRest - problem outputting xml as JSON object
  • Previous by thread: Re: databaseContextNewPrimaryKey from a jar?
  • Next by thread: multiple instance question, and more
  • Index(es):
    • Date
    • Thread