org.springframework.orm.jpa.JpaSystemException: Error in meta-data for net.opentemperament.entities.Comma.id: Cannot have a java.lang.Long primary key and be a child object (owning field is net.opentemperament.entities.Comma.alias).; nested exception is javax.persistence.PersistenceException: Error in meta-data for net.opentemperament.entities.Comma.id: Cannot have a java.lang.Long primary key and be a child object (owning field is net.opentemperament.entities.Comma.alias).

Spring JIRA | Niklas Saers | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    With the same code as ROO-1538, if I "persistence setup --provider DATANUCLEUS --database GOOGLE_APP_ENGINE --applicationId opentemperament" as my persistence setup and at the end do a "mvn gae:deploy", I get 17 errors. How should I indicate what kind of field "id" should be? ------------------------------------------------------------------------------- Test set: net.opentemperament.entities.CommaIntegrationTest ------------------------------------------------------------------------------- Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.257 sec <<< FAILURE! testCountCommas(net.opentemperament.entities.CommaIntegrationTest) Time elapsed: 0.01 sec <<< ERROR! org.springframework.orm.jpa.JpaSystemException: Error in meta-data for net.opentemperament.entities.Comma.id: Cannot have a java.lang.Long primary key and be a child object (owning field is net.opentemperament.entities.Comma.alias).; nested exception is javax.persistence.PersistenceException: Error in meta-data for net.opentemperament.entities.Comma.id: Cannot have a java.lang.Long primary key and be a child object (owning field is net.opentemperament.entities.Comma.alias). at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:311) at org.springframework.orm.jpa.DefaultJpaDialect.translateExceptionIfPossible(DefaultJpaDialect.java:120) at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:213) at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:480) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723) at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393) at org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$afterReturning$org_springframework_transaction_aspectj_AbstractTransactionAspect$3$2a73e96c(AbstractTransactionAspect.aj:78) at net.opentemperament.entities.Comma_Roo_Entity.ajc$interMethod$net_opentemperament_entities_Comma_Roo_Entity$net_opentemperament_entities_Comma$persist(Comma_Roo_Entity.aj:55) at net.opentemperament.entities.Comma.persist(Comma.java:1) at net.opentemperament.entities.Comma_Roo_Entity.ajc$interMethodDispatch1$net_opentemperament_entities_Comma_Roo_Entity$net_opentemperament_entities_Comma$persist(Comma_Roo_Entity.aj) at net.opentemperament.entities.CommaDataOnDemand_Roo_DataOnDemand.ajc$interMethod$net_opentemperament_entities_CommaDataOnDemand_Roo_DataOnDemand$net_opentemperament_entities_CommaDataOnDemand$init(CommaDataOnDemand_Roo_DataOnDemand.aj:50) at net.opentemperament.entities.CommaDataOnDemand.init(CommaDataOnDemand.java:1) at net.opentemperament.entities.CommaDataOnDemand_Roo_DataOnDemand.ajc$interMethodDispatch1$net_opentemperament_entities_CommaDataOnDemand_Roo_DataOnDemand$net_opentemperament_entities_CommaDataOnDemand$init(CommaDataOnDemand_Roo_DataOnDemand.aj) at net.opentemperament.entities.CommaDataOnDemand_Roo_DataOnDemand.ajc$interMethod$net_opentemperament_entities_CommaDataOnDemand_Roo_DataOnDemand$net_opentemperament_entities_CommaDataOnDemand$getRandomComma(CommaDataOnDemand_Roo_DataOnDemand.aj:37) at net.opentemperament.entities.CommaDataOnDemand.getRandomComma(CommaDataOnDemand.java:1) at net.opentemperament.entities.CommaDataOnDemand_Roo_DataOnDemand.ajc$interMethodDispatch1$net_opentemperament_entities_CommaDataOnDemand_Roo_DataOnDemand$net_opentemperament_entities_CommaDataOnDemand$getRandomComma(CommaDataOnDemand_Roo_DataOnDemand.aj) at net.opentemperament.entities.CommaIntegrationTest_Roo_IntegrationTest.ajc$interMethod$net_opentemperament_entities_CommaIntegrationTest_Roo_IntegrationTest$net_opentemperament_entities_CommaIntegrationTest$testCountCommas(CommaIntegrationTest_Roo_IntegrationTest.aj:43) at net.opentemperament.entities.CommaIntegrationTest.testCountCommas(CommaIntegrationTest.java:1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102) at org.apache.maven.surefire.Surefire.run(Surefire.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021) Caused by: javax.persistence.PersistenceException: Error in meta-data for net.opentemperament.entities.Comma.id: Cannot have a java.lang.Long primary key and be a child object (owning field is net.opentemperament.entities.Comma.alias). at org.datanucleus.jpa.NucleusJPAHelper.getJPAExceptionForNucleusException(NucleusJPAHelper.java:264) at org.datanucleus.jpa.EntityTransactionImpl.commit(EntityTransactionImpl.java:122) at org.datanucleus.store.appengine.jpa.DatastoreEntityTransactionImpl.commit(DatastoreEntityTransactionImpl.java:55) at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:467) ... 49 more Caused by: org.datanucleus.store.appengine.MetaDataValidator$DatastoreMetaDataException: Error in meta-data for net.opentemperament.entities.Comma.id: Cannot have a java.lang.Long primary key and be a child object (owning field is net.opentemperament.entities.Comma.alias). at org.datanucleus.store.appengine.MetaDataValidator.checkForIllegalChildField(MetaDataValidator.java:376) at org.datanucleus.store.appengine.MetaDataValidator.validateField(MetaDataValidator.java:226) at org.datanucleus.store.appengine.MetaDataValidator.validateFields(MetaDataValidator.java:148) at org.datanucleus.store.appengine.MetaDataValidator.validate(MetaDataValidator.java:121) at org.datanucleus.store.appengine.DatastoreManager.validateMetaDataForClass(DatastoreManager.java:766) at org.datanucleus.store.appengine.DatastorePersistenceHandler.insertPreProcess(DatastorePersistenceHandler.java:328) at org.datanucleus.store.appengine.DatastorePersistenceHandler.insertObjects(DatastorePersistenceHandler.java:251) at org.datanucleus.store.appengine.DatastorePersistenceHandler.insertObject(DatastorePersistenceHandler.java:240) at org.datanucleus.state.JDOStateManagerImpl.internalMakePersistent(JDOStateManagerImpl.java:3185) at org.datanucleus.state.JDOStateManagerImpl.flush(JDOStateManagerImpl.java:4513) at org.datanucleus.ObjectManagerImpl.flushInternal(ObjectManagerImpl.java:2814) at org.datanucleus.ObjectManagerImpl.flush(ObjectManagerImpl.java:2754) at org.datanucleus.ObjectManagerImpl.preCommit(ObjectManagerImpl.java:2893) at org.datanucleus.TransactionImpl.internalPreCommit(TransactionImpl.java:369) at org.datanucleus.TransactionImpl.commit(TransactionImpl.java:256) at org.datanucleus.jpa.EntityTransactionImpl.commit(EntityTransactionImpl.java:104) ... 51 more

    Spring JIRA | 6 years ago | Niklas Saers
    org.springframework.orm.jpa.JpaSystemException: Error in meta-data for net.opentemperament.entities.Comma.id: Cannot have a java.lang.Long primary key and be a child object (owning field is net.opentemperament.entities.Comma.alias).; nested exception is javax.persistence.PersistenceException: Error in meta-data for net.opentemperament.entities.Comma.id: Cannot have a java.lang.Long primary key and be a child object (owning field is net.opentemperament.entities.Comma.alias).
  2. 0

    With the same code as ROO-1538, if I "persistence setup --provider DATANUCLEUS --database GOOGLE_APP_ENGINE --applicationId opentemperament" as my persistence setup and at the end do a "mvn gae:deploy", I get 17 errors. How should I indicate what kind of field "id" should be? ------------------------------------------------------------------------------- Test set: net.opentemperament.entities.CommaIntegrationTest ------------------------------------------------------------------------------- Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.257 sec <<< FAILURE! testCountCommas(net.opentemperament.entities.CommaIntegrationTest) Time elapsed: 0.01 sec <<< ERROR! org.springframework.orm.jpa.JpaSystemException: Error in meta-data for net.opentemperament.entities.Comma.id: Cannot have a java.lang.Long primary key and be a child object (owning field is net.opentemperament.entities.Comma.alias).; nested exception is javax.persistence.PersistenceException: Error in meta-data for net.opentemperament.entities.Comma.id: Cannot have a java.lang.Long primary key and be a child object (owning field is net.opentemperament.entities.Comma.alias). at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:311) at org.springframework.orm.jpa.DefaultJpaDialect.translateExceptionIfPossible(DefaultJpaDialect.java:120) at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:213) at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:480) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723) at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393) at org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$afterReturning$org_springframework_transaction_aspectj_AbstractTransactionAspect$3$2a73e96c(AbstractTransactionAspect.aj:78) at net.opentemperament.entities.Comma_Roo_Entity.ajc$interMethod$net_opentemperament_entities_Comma_Roo_Entity$net_opentemperament_entities_Comma$persist(Comma_Roo_Entity.aj:55) at net.opentemperament.entities.Comma.persist(Comma.java:1) at net.opentemperament.entities.Comma_Roo_Entity.ajc$interMethodDispatch1$net_opentemperament_entities_Comma_Roo_Entity$net_opentemperament_entities_Comma$persist(Comma_Roo_Entity.aj) at net.opentemperament.entities.CommaDataOnDemand_Roo_DataOnDemand.ajc$interMethod$net_opentemperament_entities_CommaDataOnDemand_Roo_DataOnDemand$net_opentemperament_entities_CommaDataOnDemand$init(CommaDataOnDemand_Roo_DataOnDemand.aj:50) at net.opentemperament.entities.CommaDataOnDemand.init(CommaDataOnDemand.java:1) at net.opentemperament.entities.CommaDataOnDemand_Roo_DataOnDemand.ajc$interMethodDispatch1$net_opentemperament_entities_CommaDataOnDemand_Roo_DataOnDemand$net_opentemperament_entities_CommaDataOnDemand$init(CommaDataOnDemand_Roo_DataOnDemand.aj) at net.opentemperament.entities.CommaDataOnDemand_Roo_DataOnDemand.ajc$interMethod$net_opentemperament_entities_CommaDataOnDemand_Roo_DataOnDemand$net_opentemperament_entities_CommaDataOnDemand$getRandomComma(CommaDataOnDemand_Roo_DataOnDemand.aj:37) at net.opentemperament.entities.CommaDataOnDemand.getRandomComma(CommaDataOnDemand.java:1) at net.opentemperament.entities.CommaDataOnDemand_Roo_DataOnDemand.ajc$interMethodDispatch1$net_opentemperament_entities_CommaDataOnDemand_Roo_DataOnDemand$net_opentemperament_entities_CommaDataOnDemand$getRandomComma(CommaDataOnDemand_Roo_DataOnDemand.aj) at net.opentemperament.entities.CommaIntegrationTest_Roo_IntegrationTest.ajc$interMethod$net_opentemperament_entities_CommaIntegrationTest_Roo_IntegrationTest$net_opentemperament_entities_CommaIntegrationTest$testCountCommas(CommaIntegrationTest_Roo_IntegrationTest.aj:43) at net.opentemperament.entities.CommaIntegrationTest.testCountCommas(CommaIntegrationTest.java:1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102) at org.apache.maven.surefire.Surefire.run(Surefire.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021) Caused by: javax.persistence.PersistenceException: Error in meta-data for net.opentemperament.entities.Comma.id: Cannot have a java.lang.Long primary key and be a child object (owning field is net.opentemperament.entities.Comma.alias). at org.datanucleus.jpa.NucleusJPAHelper.getJPAExceptionForNucleusException(NucleusJPAHelper.java:264) at org.datanucleus.jpa.EntityTransactionImpl.commit(EntityTransactionImpl.java:122) at org.datanucleus.store.appengine.jpa.DatastoreEntityTransactionImpl.commit(DatastoreEntityTransactionImpl.java:55) at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:467) ... 49 more Caused by: org.datanucleus.store.appengine.MetaDataValidator$DatastoreMetaDataException: Error in meta-data for net.opentemperament.entities.Comma.id: Cannot have a java.lang.Long primary key and be a child object (owning field is net.opentemperament.entities.Comma.alias). at org.datanucleus.store.appengine.MetaDataValidator.checkForIllegalChildField(MetaDataValidator.java:376) at org.datanucleus.store.appengine.MetaDataValidator.validateField(MetaDataValidator.java:226) at org.datanucleus.store.appengine.MetaDataValidator.validateFields(MetaDataValidator.java:148) at org.datanucleus.store.appengine.MetaDataValidator.validate(MetaDataValidator.java:121) at org.datanucleus.store.appengine.DatastoreManager.validateMetaDataForClass(DatastoreManager.java:766) at org.datanucleus.store.appengine.DatastorePersistenceHandler.insertPreProcess(DatastorePersistenceHandler.java:328) at org.datanucleus.store.appengine.DatastorePersistenceHandler.insertObjects(DatastorePersistenceHandler.java:251) at org.datanucleus.store.appengine.DatastorePersistenceHandler.insertObject(DatastorePersistenceHandler.java:240) at org.datanucleus.state.JDOStateManagerImpl.internalMakePersistent(JDOStateManagerImpl.java:3185) at org.datanucleus.state.JDOStateManagerImpl.flush(JDOStateManagerImpl.java:4513) at org.datanucleus.ObjectManagerImpl.flushInternal(ObjectManagerImpl.java:2814) at org.datanucleus.ObjectManagerImpl.flush(ObjectManagerImpl.java:2754) at org.datanucleus.ObjectManagerImpl.preCommit(ObjectManagerImpl.java:2893) at org.datanucleus.TransactionImpl.internalPreCommit(TransactionImpl.java:369) at org.datanucleus.TransactionImpl.commit(TransactionImpl.java:256) at org.datanucleus.jpa.EntityTransactionImpl.commit(EntityTransactionImpl.java:104) ... 51 more

    Spring JIRA | 6 years ago | Niklas Saers
    org.springframework.orm.jpa.JpaSystemException: Error in meta-data for net.opentemperament.entities.Comma.id: Cannot have a java.lang.Long primary key and be a child object (owning field is net.opentemperament.entities.Comma.alias).; nested exception is javax.persistence.PersistenceException: Error in meta-data for net.opentemperament.entities.Comma.id: Cannot have a java.lang.Long primary key and be a child object (owning field is net.opentemperament.entities.Comma.alias).

    Root Cause Analysis

    1. org.datanucleus.store.appengine.MetaDataValidator$DatastoreMetaDataException

      Error in meta-data for net.opentemperament.entities.Comma.id: Cannot have a java.lang.Long primary key and be a child object (owning field is net.opentemperament.entities.Comma.alias).

      at org.datanucleus.store.appengine.MetaDataValidator.checkForIllegalChildField()
    2. org.datanucleus.store
      DatastorePersistenceHandler.insertObject
      1. org.datanucleus.store.appengine.MetaDataValidator.checkForIllegalChildField(MetaDataValidator.java:376)
      2. org.datanucleus.store.appengine.MetaDataValidator.validateField(MetaDataValidator.java:226)
      3. org.datanucleus.store.appengine.MetaDataValidator.validateFields(MetaDataValidator.java:148)
      4. org.datanucleus.store.appengine.MetaDataValidator.validate(MetaDataValidator.java:121)
      5. org.datanucleus.store.appengine.DatastoreManager.validateMetaDataForClass(DatastoreManager.java:766)
      6. org.datanucleus.store.appengine.DatastorePersistenceHandler.insertPreProcess(DatastorePersistenceHandler.java:328)
      7. org.datanucleus.store.appengine.DatastorePersistenceHandler.insertObjects(DatastorePersistenceHandler.java:251)
      8. org.datanucleus.store.appengine.DatastorePersistenceHandler.insertObject(DatastorePersistenceHandler.java:240)
      8 frames
    3. DataNucleus Core
      TransactionImpl.commit
      1. org.datanucleus.state.JDOStateManagerImpl.internalMakePersistent(JDOStateManagerImpl.java:3185)
      2. org.datanucleus.state.JDOStateManagerImpl.flush(JDOStateManagerImpl.java:4513)
      3. org.datanucleus.ObjectManagerImpl.flushInternal(ObjectManagerImpl.java:2814)
      4. org.datanucleus.ObjectManagerImpl.flush(ObjectManagerImpl.java:2754)
      5. org.datanucleus.ObjectManagerImpl.preCommit(ObjectManagerImpl.java:2893)
      6. org.datanucleus.TransactionImpl.internalPreCommit(TransactionImpl.java:369)
      7. org.datanucleus.TransactionImpl.commit(TransactionImpl.java:256)
      7 frames
    4. org.datanucleus.jpa
      EntityTransactionImpl.commit
      1. org.datanucleus.jpa.EntityTransactionImpl.commit(EntityTransactionImpl.java:104)
      1 frame
    5. org.datanucleus.store
      DatastoreEntityTransactionImpl.commit
      1. org.datanucleus.store.appengine.jpa.DatastoreEntityTransactionImpl.commit(DatastoreEntityTransactionImpl.java:55)
      1 frame
    6. Spring ORM
      JpaTransactionManager.doCommit
      1. org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:467)
      1 frame
    7. Spring Tx
      TransactionAspectSupport.commitTransactionAfterReturning
      1. org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754)
      2. org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
      3. org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393)
      3 frames
    8. Spring Aspects
      AbstractTransactionAspect.ajc$afterReturning$org_springframework_transaction_aspectj_AbstractTransactionAspect$3$2a73e96c
      1. org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$afterReturning$org_springframework_transaction_aspectj_AbstractTransactionAspect$3$2a73e96c(AbstractTransactionAspect.aj:78)
      1 frame
    9. net.opentemperament.entities
      CommaIntegrationTest.testCountCommas
      1. net.opentemperament.entities.Comma_Roo_Entity.ajc$interMethod$net_opentemperament_entities_Comma_Roo_Entity$net_opentemperament_entities_Comma$persist(Comma_Roo_Entity.aj:55)
      2. net.opentemperament.entities.Comma.persist(Comma.java:1)
      3. net.opentemperament.entities.Comma_Roo_Entity.ajc$interMethodDispatch1$net_opentemperament_entities_Comma_Roo_Entity$net_opentemperament_entities_Comma$persist(Comma_Roo_Entity.aj)
      4. net.opentemperament.entities.CommaDataOnDemand_Roo_DataOnDemand.ajc$interMethod$net_opentemperament_entities_CommaDataOnDemand_Roo_DataOnDemand$net_opentemperament_entities_CommaDataOnDemand$init(CommaDataOnDemand_Roo_DataOnDemand.aj:50)
      5. net.opentemperament.entities.CommaDataOnDemand.init(CommaDataOnDemand.java:1)
      6. net.opentemperament.entities.CommaDataOnDemand_Roo_DataOnDemand.ajc$interMethodDispatch1$net_opentemperament_entities_CommaDataOnDemand_Roo_DataOnDemand$net_opentemperament_entities_CommaDataOnDemand$init(CommaDataOnDemand_Roo_DataOnDemand.aj)
      7. net.opentemperament.entities.CommaDataOnDemand_Roo_DataOnDemand.ajc$interMethod$net_opentemperament_entities_CommaDataOnDemand_Roo_DataOnDemand$net_opentemperament_entities_CommaDataOnDemand$getRandomComma(CommaDataOnDemand_Roo_DataOnDemand.aj:37)
      8. net.opentemperament.entities.CommaDataOnDemand.getRandomComma(CommaDataOnDemand.java:1)
      9. net.opentemperament.entities.CommaDataOnDemand_Roo_DataOnDemand.ajc$interMethodDispatch1$net_opentemperament_entities_CommaDataOnDemand_Roo_DataOnDemand$net_opentemperament_entities_CommaDataOnDemand$getRandomComma(CommaDataOnDemand_Roo_DataOnDemand.aj)
      10. net.opentemperament.entities.CommaIntegrationTest_Roo_IntegrationTest.ajc$interMethod$net_opentemperament_entities_CommaIntegrationTest_Roo_IntegrationTest$net_opentemperament_entities_CommaIntegrationTest$testCountCommas(CommaIntegrationTest_Roo_IntegrationTest.aj:43)
      11. net.opentemperament.entities.CommaIntegrationTest.testCountCommas(CommaIntegrationTest.java:1)
      11 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    11. JUnit
      InvokeMethod.evaluate
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      4 frames
    12. Spring TestContext
      SpringJUnit4ClassRunner.runChild
      1. org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
      2. org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
      3. org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
      4. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240)
      4 frames
    13. JUnit
      RunBefores.evaluate
      1. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      2. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      3. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      4. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      5. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      6. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      7. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      7 frames
    14. Spring TestContext
      RunBeforeTestClassCallbacks.evaluate
      1. org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
      1 frame
    15. JUnit
      RunAfters.evaluate
      1. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      1 frame
    16. Spring TestContext
      RunAfterTestClassCallbacks.evaluate
      1. org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
      1 frame
    17. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      1 frame
    18. Spring TestContext
      SpringJUnit4ClassRunner.run
      1. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)
      1 frame
    19. JUnit4 Provider
      JUnit4TestSet.execute
      1. org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
      1 frame
    20. SureFire
      Surefire.run
      1. org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
      2. org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
      3. org.apache.maven.surefire.Surefire.run(Surefire.java:180)
      3 frames
    21. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    22. SureFire
      SurefireBooter.main
      1. org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
      2. org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
      2 frames