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

Re: Can't insert a second record?!


  • Subject: Re: Can't insert a second record?!
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 8 Mar 2004 18:38:48 -0800

Usually this means that you have called insertObject on an eo that you
have already inserted and saved.

chuck


On Mar 7, 2004, at 5:20 PM, James Cicenia wrote:

> 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.EOEdi
> tingContext@95ba08. Cannot insert an object that is already in the
> database
>
> Thoughts help?
>
> -James Cicenia_______________________________________________
> WebObjects-dev mailing list
> email@hidden
> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
_______________________________________________
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: 
 >Can't insert a second record?! (From: James Cicenia <email@hidden>)

  • Prev by Date: Application Instance won't start in monitor
  • Next by Date: Re: Application Instance won't start in monitor
  • Previous by thread: Can't insert a second record?!
  • Next by thread: directActionBug
  • Index(es):
    • Date
    • Thread