org.hibernate.exception.ConstraintViolationException: could not delete: [net.opentemperament.entities.Note#9]

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

    In relation to ROO-1537, if I use Hibernate instead of OpenJPA, I get further. The following works, but then I'll add another entity and the test break: project --topLevelPackage net.opentemperament persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY entity --class ~.entities.Family --testAutomatically field string --fieldName name entity --class ~.entities.Temperament --testAutomatically field string --fieldName title field string --fieldName description field string --fieldName originalAuthor field reference --type ~entities.Family --fieldName family entity --class ~.entities.OnlineUser #--extends org.springframework.security.UserDetails --testAutomatically field string --fieldName fullname field string --fieldName email field reference --class ~.entities.Temperament --fieldName onlineAuthor --type ~.entities.OnlineUser entity --class ~.entities.Note --testAutomatically field string --fieldName name field reference --type ~.entities.Note --fieldName enharmonicTwin field number --fieldName indexFromA --type java.lang.Integer field reference --fieldName startingNote --type ~.entities.Note --class ~.entities.Temperament entity --class ~.entities.Comma --testAutomatically field string --fieldName name --notNull field number --fieldName ratio --type java.lang.Double field number --fieldName ratioInCents --type java.lang.Double field reference --type ~.entities.Comma --fieldName alias enum type --class ~.enums.IntervalType enum constant --name MinorSecond enum constant --name MajorSecond enum constant --name MinorThird enum constant --name MajorThird enum constant --name PureFourth enum constant --name PureFifth perform test 45 tests run beautifully. But, if I add my next entity, all goes wrong entity --class ~.entities.Deviation --testAutomatically field reference --type ~.entities.Note --fieldName lowestNote --notNull #field enum --type ~.enums.IntervalType --fieldName intervalType --notNull #field number --fieldName deviationValue --type java.lang.Double #field reference --type ~.entities.Comma --fieldName deviationType --notNull perform test Why is this? The errors I get are here: Running net.opentemperament.entities.NoteIntegrationTest 2010-10-12 00:01:17,554 [main] ERROR org.hibernate.util.JDBCExceptionReporter - integrity constraint violation: foreign key no action; FK16B7481578D0153 table: DEVIATION 2010-10-12 00:01:17,554 [main] ERROR org.hibernate.event.def.AbstractFlushingEventListener - Could not synchronize database state with session org.hibernate.exception.ConstraintViolationException: could not delete: [net.opentemperament.entities.Note#9] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2712) at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2895) at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:97) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:267) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:259) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:183) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1206) at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:791) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:240) at $Proxy32.flush(Unknown Source) at net.opentemperament.entities.Note_Roo_Entity.ajc$interMethod$net_opentemperament_entities_Note_Roo_Entity$net_opentemperament_entities_Note$flush(Note_Roo_Entity.aj:70) at net.opentemperament.entities.Note.flush(Note.java:1) at net.opentemperament.entities.Note_Roo_Entity.ajc$interMethodDispatch1$net_opentemperament_entities_Note_Roo_Entity$net_opentemperament_entities_Note$flush(Note_Roo_Entity.aj) at net.opentemperament.entities.NoteIntegrationTest_Roo_IntegrationTest.ajc$interMethod$net_opentemperament_entities_NoteIntegrationTest_Roo_IntegrationTest$net_opentemperament_entities_NoteIntegrationTest$testRemove(NoteIntegrationTest_Roo_IntegrationTest.aj:112) at net.opentemperament.entities.NoteIntegrationTest.testRemove(NoteIntegrationTest.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.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) 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: java.sql.SQLException: integrity constraint violation: foreign key no action; FK16B7481578D0153 table: DEVIATION at org.hsqldb.jdbc.Util.sqlException(Unknown Source) at org.hsqldb.jdbc.JDBCPreparedStatement.fetchResult(Unknown Source) at org.hsqldb.jdbc.JDBCPreparedStatement.executeUpdate(Unknown Source) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105) at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2694) ... 51 more Caused by: org.hsqldb.HsqlException: integrity constraint violation: foreign key no action; FK16B7481578D0153 table: DEVIATION at org.hsqldb.error.Error.error(Unknown Source) at org.hsqldb.StatementDML.performReferentialActions(Unknown Source) at org.hsqldb.StatementDML.delete(Unknown Source) at org.hsqldb.StatementDML.executeDeleteStatement(Unknown Source) at org.hsqldb.StatementDML.getResult(Unknown Source) at org.hsqldb.StatementDMQL.execute(Unknown Source) at org.hsqldb.Session.executeCompiledStatement(Unknown Source) at org.hsqldb.Session.execute(Unknown Source) ... 56 more Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.131 sec <<< FAILURE!

    Spring JIRA | 6 years ago | Niklas Saers
    org.hibernate.exception.ConstraintViolationException: could not delete: [net.opentemperament.entities.Note#9]
  2. 0

    In relation to ROO-1537, if I use Hibernate instead of OpenJPA, I get further. The following works, but then I'll add another entity and the test break: project --topLevelPackage net.opentemperament persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY entity --class ~.entities.Family --testAutomatically field string --fieldName name entity --class ~.entities.Temperament --testAutomatically field string --fieldName title field string --fieldName description field string --fieldName originalAuthor field reference --type ~entities.Family --fieldName family entity --class ~.entities.OnlineUser #--extends org.springframework.security.UserDetails --testAutomatically field string --fieldName fullname field string --fieldName email field reference --class ~.entities.Temperament --fieldName onlineAuthor --type ~.entities.OnlineUser entity --class ~.entities.Note --testAutomatically field string --fieldName name field reference --type ~.entities.Note --fieldName enharmonicTwin field number --fieldName indexFromA --type java.lang.Integer field reference --fieldName startingNote --type ~.entities.Note --class ~.entities.Temperament entity --class ~.entities.Comma --testAutomatically field string --fieldName name --notNull field number --fieldName ratio --type java.lang.Double field number --fieldName ratioInCents --type java.lang.Double field reference --type ~.entities.Comma --fieldName alias enum type --class ~.enums.IntervalType enum constant --name MinorSecond enum constant --name MajorSecond enum constant --name MinorThird enum constant --name MajorThird enum constant --name PureFourth enum constant --name PureFifth perform test 45 tests run beautifully. But, if I add my next entity, all goes wrong entity --class ~.entities.Deviation --testAutomatically field reference --type ~.entities.Note --fieldName lowestNote --notNull #field enum --type ~.enums.IntervalType --fieldName intervalType --notNull #field number --fieldName deviationValue --type java.lang.Double #field reference --type ~.entities.Comma --fieldName deviationType --notNull perform test Why is this? The errors I get are here: Running net.opentemperament.entities.NoteIntegrationTest 2010-10-12 00:01:17,554 [main] ERROR org.hibernate.util.JDBCExceptionReporter - integrity constraint violation: foreign key no action; FK16B7481578D0153 table: DEVIATION 2010-10-12 00:01:17,554 [main] ERROR org.hibernate.event.def.AbstractFlushingEventListener - Could not synchronize database state with session org.hibernate.exception.ConstraintViolationException: could not delete: [net.opentemperament.entities.Note#9] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2712) at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2895) at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:97) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:267) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:259) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:183) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1206) at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:791) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:240) at $Proxy32.flush(Unknown Source) at net.opentemperament.entities.Note_Roo_Entity.ajc$interMethod$net_opentemperament_entities_Note_Roo_Entity$net_opentemperament_entities_Note$flush(Note_Roo_Entity.aj:70) at net.opentemperament.entities.Note.flush(Note.java:1) at net.opentemperament.entities.Note_Roo_Entity.ajc$interMethodDispatch1$net_opentemperament_entities_Note_Roo_Entity$net_opentemperament_entities_Note$flush(Note_Roo_Entity.aj) at net.opentemperament.entities.NoteIntegrationTest_Roo_IntegrationTest.ajc$interMethod$net_opentemperament_entities_NoteIntegrationTest_Roo_IntegrationTest$net_opentemperament_entities_NoteIntegrationTest$testRemove(NoteIntegrationTest_Roo_IntegrationTest.aj:112) at net.opentemperament.entities.NoteIntegrationTest.testRemove(NoteIntegrationTest.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.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) 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: java.sql.SQLException: integrity constraint violation: foreign key no action; FK16B7481578D0153 table: DEVIATION at org.hsqldb.jdbc.Util.sqlException(Unknown Source) at org.hsqldb.jdbc.JDBCPreparedStatement.fetchResult(Unknown Source) at org.hsqldb.jdbc.JDBCPreparedStatement.executeUpdate(Unknown Source) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105) at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2694) ... 51 more Caused by: org.hsqldb.HsqlException: integrity constraint violation: foreign key no action; FK16B7481578D0153 table: DEVIATION at org.hsqldb.error.Error.error(Unknown Source) at org.hsqldb.StatementDML.performReferentialActions(Unknown Source) at org.hsqldb.StatementDML.delete(Unknown Source) at org.hsqldb.StatementDML.executeDeleteStatement(Unknown Source) at org.hsqldb.StatementDML.getResult(Unknown Source) at org.hsqldb.StatementDMQL.execute(Unknown Source) at org.hsqldb.Session.executeCompiledStatement(Unknown Source) at org.hsqldb.Session.execute(Unknown Source) ... 56 more Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.131 sec <<< FAILURE!

    Spring JIRA | 6 years ago | Niklas Saers
    org.hibernate.exception.ConstraintViolationException: could not delete: [net.opentemperament.entities.Note#9]
  3. 0

    Exception when sending initial load

    symmetricds | 6 years ago | yoxel
    java.sql.SQLException: integrity constraint violation: foreign key no parent; SYS_FK_10059 table: CATEGORY
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    foreign key no parent error

    Stack Overflow | 5 years ago | The Thom
    org.springframework.dao.DataIntegrityViolationException: could not insert: [com.heavyweightsoftware.leal.model.schedule.Event]; SQL [insert into EVENT (ID, END_TIME, EVENT_ID, EVENT_NAME, LOCATION, SCHEDULE_ID, START_TIME) values (default, ?, ?, ?, ?, ?, ?)]; constraint [FK3F47A7AA91E64F]; nested exception is org.hibernate.exception.ConstraintViolationException: could not insert: [com.heavyweightsoftware.leal.model.schedule.Event]
  6. 0

    HSQLDB: weird "unique constraint or index violation" with data read from CSV

    Stack Overflow | 6 years ago | Ondra Žižka
    java.sql.SQLException: integrity constraint violation: unique constraint or index violation: SYS_IDX_10027
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.hsqldb.HsqlException

    integrity constraint violation: foreign key no action; FK16B7481578D0153 table: DEVIATION

    at org.hsqldb.error.Error.error()
  2. HyperSQL Database
    Error.error
    1. org.hsqldb.error.Error.error(Unknown Source)
    1 frame
  3. HSQLDB
    JDBCPreparedStatement.executeUpdate
    1. org.hsqldb.StatementDML.performReferentialActions(Unknown Source)
    2. org.hsqldb.StatementDML.delete(Unknown Source)
    3. org.hsqldb.StatementDML.executeDeleteStatement(Unknown Source)
    4. org.hsqldb.StatementDML.getResult(Unknown Source)
    5. org.hsqldb.StatementDMQL.execute(Unknown Source)
    6. org.hsqldb.Session.executeCompiledStatement(Unknown Source)
    7. org.hsqldb.Session.execute(Unknown Source)
    8. org.hsqldb.jdbc.Util.sqlException(Unknown Source)
    9. org.hsqldb.jdbc.JDBCPreparedStatement.fetchResult(Unknown Source)
    10. org.hsqldb.jdbc.JDBCPreparedStatement.executeUpdate(Unknown Source)
    10 frames
  4. Commons DBCP
    DelegatingPreparedStatement.executeUpdate
    1. org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
    1 frame
  5. Hibernate
    AbstractEntityPersister.delete
    1. org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2694)
    2. org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2895)
    2 frames
  6. Hibernate
    EntityDeleteAction.execute
    1. org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:97)
    1 frame
  7. Hibernate
    ActionQueue.executeActions
    1. org.hibernate.engine.ActionQueue.execute(ActionQueue.java:267)
    2. org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:259)
    3. org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:183)
    3 frames
  8. Hibernate
    SessionImpl.flush
    1. org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
    2. org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
    3. org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1206)
    3 frames
  9. Hibernate EJB
    AbstractEntityManagerImpl.flush
    1. org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:791)
    1 frame
  10. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:597)
    3 frames
  11. Spring ORM
    SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke
    1. org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:240)
    1 frame
  12. Unknown
    $Proxy32.flush
    1. $Proxy32.flush(Unknown Source)
    1 frame
  13. net.opentemperament.entities
    NoteIntegrationTest.testRemove
    1. net.opentemperament.entities.Note_Roo_Entity.ajc$interMethod$net_opentemperament_entities_Note_Roo_Entity$net_opentemperament_entities_Note$flush(Note_Roo_Entity.aj:70)
    2. net.opentemperament.entities.Note.flush(Note.java:1)
    3. net.opentemperament.entities.Note_Roo_Entity.ajc$interMethodDispatch1$net_opentemperament_entities_Note_Roo_Entity$net_opentemperament_entities_Note$flush(Note_Roo_Entity.aj)
    4. net.opentemperament.entities.NoteIntegrationTest_Roo_IntegrationTest.ajc$interMethod$net_opentemperament_entities_NoteIntegrationTest_Roo_IntegrationTest$net_opentemperament_entities_NoteIntegrationTest$testRemove(NoteIntegrationTest_Roo_IntegrationTest.aj:112)
    5. net.opentemperament.entities.NoteIntegrationTest.testRemove(NoteIntegrationTest.java:1)
    5 frames
  14. 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
  15. 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
  16. 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
  17. JUnit
    ParentRunner$2.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)
    6 frames
  18. Spring TestContext
    RunAfterTestClassCallbacks.evaluate
    1. org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
    2. org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
    2 frames
  19. JUnit
    ParentRunner.run
    1. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    1 frame
  20. Spring TestContext
    SpringJUnit4ClassRunner.run
    1. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)
    1 frame
  21. JUnit4 Provider
    JUnit4TestSet.execute
    1. org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
    1 frame
  22. 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
  23. 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
  24. 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