org.hibernate.exception.SQLGrammarException: could not insert: \[org.openxava.tracking.model.Access\]

openxava | janesh | 9 years ago
  1. 0

    MySQL Keywords are used in Access Tracking

    openxava | 9 years ago | janesh
    org.hibernate.exception.SQLGrammarException: could not insert: \[org.openxava.tracking.model.Access\]
  2. 0

    [jbpm-dev] [Design of JBoss jBPM] - Unexpected token: LAST_INSERT_ID in statement [select last_i

    jboss.org | 1 year ago
    org.hibernate.exception.SQLGrammarException: could not retrieve generated id after insert: [org.jbpm.pvm.internal.repository.DeploymentImpl]
  3. 0

    Noob error :org.hibernate.exception.SQLGrammarException: could not insert [com.sample.Person] (Object Relational Mapping forum at Coderanch)

    coderanch.com | 5 months ago
    org.hibernate.exception.SQLGrammarException: could not insert: [com.sample.Person]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.hibernate.exception.SQLGrammarException: could not insert [com.sample.Person]

    Stack Overflow | 5 years ago | KodeSeeker
    org.hibernate.exception.SQLGrammarException: could not insert: [com.sample.Person]
  6. 0

    Error setting property values; nested exception is org.springframework.beans.NotWrita - Spring Forum

    spring.io | 9 months ago
    org.hibernate.exception.SQLGrammarException: could not insert: [com.optum.secureMessaging.model.Account]

    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.hibernate.exception.SQLGrammarException

      could not insert: \[org.openxava.tracking.model.Access\]

      at org.hibernate.exception.SQLStateConverter.convert()
    2. Hibernate
      AbstractEntityPersister.insert
      1. org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
      2. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
      3. org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:40)
      4. org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2158)
      5. org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2638)
      5 frames
    3. Hibernate
      EntityIdentityInsertAction.execute
      1. org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:48)
      1 frame
    4. Hibernate
      ActionQueue.execute
      1. org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
      1 frame
    5. Hibernate
      SessionImpl.save
      1. org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:298)
      2. org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:181)
      3. org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:107)
      4. org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
      5. org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
      6. org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
      7. org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
      8. org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
      9. org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
      10. org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
      11. org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
      11 frames
    6. org.openxava.tracking
      AccessTrackingCalculator.calculate
      1. org.openxava.tracking.AccessTrackingCalculator.calculate(AccessTrackingCalculator.java:42)
      1 frame
    7. org.openxava.hibernate
      CalculatorsListener.onPostLoad
      1. org.openxava.hibernate.impl.CalculatorsListener.executeCalculators(CalculatorsListener.java:109)
      2. org.openxava.hibernate.impl.CalculatorsListener.onPostLoad(CalculatorsListener.java:34)
      2 frames
    8. Hibernate
      AbstractEntityPersister.load
      1. org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:201)
      2. org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854)
      3. org.hibernate.loader.Loader.doQuery(Loader.java:729)
      4. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
      5. org.hibernate.loader.Loader.loadEntity(Loader.java:1860)
      6. org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)
      7. org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42)
      8. org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3044)
      8 frames
    9. Hibernate
      SessionImpl.immediateLoad
      1. org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:395)
      2. org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:375)
      3. org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:139)
      4. org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:98)
      5. org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
      6. org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:836)
      6 frames
    10. Hibernate
      AbstractLazyInitializer.getImplementation
      1. org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:66)
      2. org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111)
      2 frames
    11. Hibernate
      CGLIBLazyInitializer.invoke
      1. org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:150)
      1 frame
    12. org.openxava.qamanager
      TestCycle.getReleasedByEngineering
      1. org.openxava.qamanager.model.Resource$$EnhancerByCGLIB$$7a424884.toString(<generated>)
      2. org.openxava.qamanager.model.TestCycle.getReleasedByEngineering(Unknown Source)
      2 frames
    13. 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:585)
      4 frames
    14. org.openxava.util
      PropertiesManager.executeGet
      1. org.openxava.util.PropertiesManager.executeGet(PropertiesManager.java:77)
      1 frame
    15. org.openxava.model
      MapFacade.getValues
      1. org.openxava.model.impl.MapFacadeBean.getReferencedObject(MapFacadeBean.java:781)
      2. org.openxava.model.impl.MapFacadeBean.getReferenceValues(MapFacadeBean.java:971)
      3. org.openxava.model.impl.MapFacadeBean.getValues(MapFacadeBean.java:857)
      4. org.openxava.model.impl.MapFacadeBean.getValuesImpl(MapFacadeBean.java:604)
      5. org.openxava.model.impl.MapFacadeBean.getValues(MapFacadeBean.java:76)
      6. org.openxava.model.MapFacade.getValues(MapFacade.java:271)
      6 frames
    16. org.openxava.actions
      SearchByViewKeyAction.execute
      1. org.openxava.actions.SearchByViewKeyAction.execute(SearchByViewKeyAction.java:46)
      1 frame
    17. org.openxava.controller
      ModuleManager.execute
      1. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:328)
      2. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:257)
      3. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:431)
      4. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:257)
      5. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:431)
      6. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:257)
      7. org.openxava.controller.ModuleManager.execute(ModuleManager.java:224)
      7 frames