Skip to content

Instantly share code, notes, and snippets.

@shin1ogawa
Created May 14, 2009 10:19
Show Gist options
  • Save shin1ogawa/111607 to your computer and use it in GitHub Desktop.
Save shin1ogawa/111607 to your computer and use it in GitHub Desktop.
javax.jdo.JDOFatalUserException: Attempt was made to modify the primary key of an object of type com.shin1ogawa.entity.Child2 identified by key Parent2(1)/Child2(2). Primary keys are immutable.
at org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:406)
at org.datanucleus.jdo.JDOPersistenceManager.jdoDeletePersistent(JDOPersistenceManager.java:758)
at org.datanucleus.jdo.JDOPersistenceManager.deletePersistent(JDOPersistenceManager.java:771)
at com.shin1ogawa.OwnedRelationshipUsingEncodedStringTest.親エンティティを削除(OwnedRelationshipUsingEncodedStringTest.java:84)
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment