• 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
Problem with Primary Keys (I think)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with Primary Keys (I think)


  • Subject: Problem with Primary Keys (I think)
  • From: Johnny Miller <email@hidden>
  • Date: Wed, 20 Feb 2013 14:43:16 -1000

Hi,

OK.  This is a hard one to explain.

Basically, I have a site that has a back and a front end.  Separate apps running on the same host.  I'm using ERJGroupsSynchronizer.  The host is AWS with Amazon Linux AMI.  The database is PostgreSQL 9.2.

Both ends create objects.  For some reason every few days or so I get an EOGeneralAdapterException when the front end goes to insert an object.  It's trying to change some properties on an EO of the same type created at the same time in the back end.  I'm thinking that is happening because somehow they are sharing the same primary key.

If that is right, is there a way to delay the assigning of the key until the object gets inserted?

Aloha,
Mr. Johnny Miller
Web Development Manager
Kahalawai Media Company
Lahaina, HI 96761
tel: (808) 661-7962 | mobile: (808) 283-0791
website | e-mail

 _______________________________________________
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

  • Follow-Ups:
    • Re: Problem with Primary Keys (I think)
      • From: Ken Anderson <email@hidden>
  • Prev by Date: Re: css on custom table row component
  • Next by Date: Re: Problem with Primary Keys (I think)
  • Previous by thread: Re: Storing a user in a cookie
  • Next by thread: Re: Problem with Primary Keys (I think)
  • Index(es):
    • Date
    • Thread