• 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: How to avoid Pknumber being increased auto when insert records?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to avoid Pknumber being increased auto when insert records?


  • Subject: Re: How to avoid Pknumber being increased auto when insert records?
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 19 Jan 2004 15:36:22 -0800
  • Organization: Global Village Consulting, Inc.

Using triggers won't work in many situations. In particular, it won't work with WO. WO needs to know the PK when it creates the object / inserts the record so that it can accurately assign a GID.

Chuck


john XUE wrote:

Hi Currently when I insert records into database,the pk
number is increased automatically,how to avoid that
happen? Because I have triggers do that.


Thanks!

John

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
_______________________________________________
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.

--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net

It is a funny thing about life; if you refuse to accept
anything but the best, you very often get it."
  --  W. Somerset Maugham

<shamelessPlug>
  Practical WebObjects
  http://www.amazon.com/exec/obidos/tg/detail/-/1590592964
</shamelessPlug>
_______________________________________________
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.

References: 
 >How to avoid Pknumber being increased auto when insert records? (From: john XUE <email@hidden>)

  • Prev by Date: Re: StringIndexOutOfBoundsException and cookies
  • Next by Date: Re: How-To Create WO application Portal
  • Previous by thread: How to avoid Pknumber being increased auto when insert records?
  • Next by thread: NSDictionary Within An NSDictionary - Getting Values
  • Index(es):
    • Date
    • Thread