• 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 insert a second record?!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't insert a second record?!


  • Subject: Can't insert a second record?!
  • From: James Cicenia <email@hidden>
  • Date: Sun, 7 Mar 2004 19:20:27 -0600

Here is my error message... seems as though the id isn't getting
incremented in the second insert?

  java.lang.IllegalStateException: recordInsertForObject:
com.webobjects.eoaccess.EODatabaseContext
com.webobjects.eoaccess.EODatabaseContext@26172f found a snapshot for
EO with Global ID:_EOIntegralKeyGlobalID[PortfolioRole
(java.math.BigDecimal)408] that has been inserted into
com.webobjects.eocontrol.EOEditingContextcom.webobjects.eocontrol.EOEdit
ingContext@95ba08. Cannot insert an object that is already in the
database

Thoughts help?

-James Cicenia
_______________________________________________
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 insert a second record?!
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Multiple Databases
  • Next by Date: directActionBug
  • Previous by thread: Relationships, database, refresh, etc...
  • Next by thread: Re: Can't insert a second record?!
  • Index(es):
    • Date
    • Thread