• 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: Synchronizing FirebirdSQL Plugin has arrived!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Synchronizing FirebirdSQL Plugin has arrived!


  • Subject: Re: Synchronizing FirebirdSQL Plugin has arrived!
  • From: email@hidden
  • Date: Tue, 5 Sep 2006 23:42:59 +0100

Chuck and John,

Coincidentally, I am in fact currently working on this today (having spent
several hours finding out that EOF's calls to Get PK stored procs is sadly
hideously broken.
However, unlike Chuck's suggestion, I'm not using a delegate - because I
really don't understand what they are and how to use them.

I have implmented the code for Sequences/Generators in the method 'newPrimaryKeys(int keysRequired, EOEntity entity, JDBCChannel channel)' in the Plugin.
Unless someone can give me a reason not to use that, for the moment I will
continue to work on it.

Incidentally, can someone point me to where I can actually learn more
about the hows and whys of delegates in general, or (even better) in WO
specifically?

Bernard Devlin






Chuck Hill <email@hidden>
Sent by:
webobjects-dev-bounces+bdappwodev=email@hidden
09/05/06 09:30 PM


        To:     "John Huss" <email@hidden>
        cc:     WebObjects Development <email@hidden>
        Subject:        Re: Synchronizing FirebirdSQL Plugin has arrived!


I have no idea what the specifics of Gen_ID are, but EOF-side this is
the delegate and method that you need to work with:

com.webobjects.eoaccess Interface EODatabaseContext.Delegate

public NSDictionary databaseContextNewPrimaryKey(EODatabaseContext
dbCtxt,
                                                  Object object,
                                                  EOEntity entity)

Chuck


On Sep 5, 2006, at 1:26 PM, John Huss wrote:

> Would it be possible to implement primary key generation using
> generators and Gen_ID rather than the EO_PK table?  What do you think?
>
> John
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> 40global-village.net
>
> This email sent to email@hidden

--

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




 _______________________________________________
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

  • Prev by Date: Re: Re: Re: Community Wish List
  • Next by Date: Re: WO in Java or Objective-C (Was Re: Is WebObjects 4.5 going open source?)
  • Previous by thread: Re: Synchronizing FirebirdSQL Plugin has arrived!
  • Next by thread: deserializing non-eo xml
  • Index(es):
    • Date
    • Thread