• 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: EO_PK_TABLE vs EO_SEQUENCE_TABLE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EO_PK_TABLE vs EO_SEQUENCE_TABLE


  • Subject: Re: EO_PK_TABLE vs EO_SEQUENCE_TABLE
  • From: email@hidden
  • Date: Fri, 26 Sep 2003 12:09:43 CDT
  • Priority: 3 (Normal)

[demime could not interpret encoding binary - treating as plain text]
On Fri, 26 Sep 2003 10:34:41 -0600 "Adam Chan" wrote:

> 2. Found out where (my guess is at the control layer) the code is and
> modify
> it such that it uses EO_SEQUENCE_TABLE.

The code for pk generation is conveniently in the JDBCPlugIn class.  For
Apple-supported
databases, there's usually an Apple-supplied custom JDBCPlugIn subclass
for that db. You
could in turn subclass that class yourself, an over-ride it's pk
generation methods.

When I'm back at my work machine on Monday, I can share with you my custom
JDBCPlugIn which provides EO_PK_TABLE support, for an example. [The built-in
EO_PK_TABLE support didn't quite work with my db, so I had to rewrite
it].  If the only
change you need is to change the table name, my code would give you a
good start [there
are a couple other db-specific things in my code you'd have to change].
If you are talking
about using sequences, you may have to write new logic, but you'd see
where it needs to
go.

--Jonathan


>
> Any suggestion?
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: EO_PK_TABLE vs EO_SEQUENCE_TABLE
  • Next by Date: Re: Bizarre exception using XSLT
  • Previous by thread: Re: EO_PK_TABLE vs EO_SEQUENCE_TABLE
  • Next by thread: Security Authentication Question
  • Index(es):
    • Date
    • Thread