Can't insert a second record?!
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.