• 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
Can't modify EO objects! ARGH! =(
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't modify EO objects! ARGH! =(


  • Subject: Can't modify EO objects! ARGH! =(
  • From: Goodbye Bill <email@hidden>
  • Date: Thu, 17 Jul 2003 09:49:36 -0400

Could someone please tell me why I cannot destroy an object in the database
once it is loaded into the session?

DETAILS:
I have a two-step signup process for my web site.  Users must create a
"Signup Request" including their name and email address.  A confirmation
code is then sent their email address.  They must return to the site and
enter this confirmation code before their "Member" object will get created.

ISSUE:
When the user returns to the site to enter their confirmation code, I load
the "Signup Request" object into a local object within the session using the
default EC.  I then create a new "Member" object without inserting it into
the EC.  I populate the variables of the "Member" object, stick it into the
EC, then attempt to save the "Member" object while blowing away the "Signup
Request" object.  I have tried this as two separate commands and together as
one.  The "Member" object always saves fine however I cannot do anything
with the "Signup Request" object.

ERROR DETAILS FOLLOW:
com.webobjects.eoaccess.EOGeneralAdaptorException:
updateValuesInRowDescribedByQualifier --
com.webobjects.jdbcadaptor.JDBCChannel method failed to update row in
database
    at
com.webobjects.eoaccess.EODatabaseContext._exceptionWithDatabaseContextInfor
mationAdded(EODatabaseContext.java:4658)
    at
com.webobjects.eoaccess.EODatabaseContext.performChanges(EODatabaseContext.j
ava:6365)
    at
com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContex
t(EOObjectStoreCoordinator.java:411)
    at
com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:
3128)
    at Session.SaveNewMember(Session.java:85)
_______________________________________________
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.

  • Follow-Ups:
    • Re: Can't modify EO objects! ARGH! =(
      • From: Art Isbell <email@hidden>
    • Re: Can't modify EO objects! ARGH! =(
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Linking to derived columns in EO Models
  • Next by Date: Need some ideas for a WO file upload app
  • Previous by thread: Linking to derived columns in EO Models
  • Next by thread: Re: Can't modify EO objects! ARGH! =(
  • Index(es):
    • Date
    • Thread