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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via openxava by janesh
, 1 year ago
could not insert: \[org.openxava.tracking.model.Access\]
via iteye.com by Unknown author, 1 year ago
via Stack Overflow by chirag soni
, 2 years ago
could not insert: [com.hibernate.Stock]
via Coderanch by Samanthi perera, 11 months ago
could not insert: [Student]
org.hibernate.exception.SQLGrammarException: could not insert: \[org.openxava.tracking.model.Access\]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:40)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2158)
at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:48)
at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:298)
at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:181)
at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:107)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
at org.openxava.tracking.AccessTrackingCalculator.calculate(AccessTrackingCalculator.java:42)
at org.openxava.hibernate.impl.CalculatorsListener.executeCalculators(CalculatorsListener.java:109)
at org.openxava.hibernate.impl.CalculatorsListener.onPostLoad(CalculatorsListener.java:34)
at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:201)
at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854)
at org.hibernate.loader.Loader.doQuery(Loader.java:729)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1860)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42)
at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:395)
at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:375)
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:139)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:98)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:66)
at org.openxava.qamanager.model.Resource$$EnhancerByCGLIB$$7a424884.toString()
at org.openxava.qamanager.model.TestCycle.getReleasedByEngineering(Unknown Source)
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:585)
at org.openxava.util.PropertiesManager.executeGet(PropertiesManager.java:77)
at org.openxava.model.impl.MapFacadeBean.getReferencedObject(MapFacadeBean.java:781)
at org.openxava.model.impl.MapFacadeBean.getReferenceValues(MapFacadeBean.java:971)
at org.openxava.model.impl.MapFacadeBean.getValues(MapFacadeBean.java:857)
at org.openxava.model.impl.MapFacadeBean.getValuesImpl(MapFacadeBean.java:604)
at org.openxava.model.impl.MapFacadeBean.getValues(MapFacadeBean.java:76)
at org.openxava.model.MapFacade.getValues(MapFacade.java:271)
at org.openxava.actions.SearchByViewKeyAction.execute(SearchByViewKeyAction.java:46)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:328)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:257)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:431)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:257)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:431)
at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:257)
at org.openxava.controller.ModuleManager.execute(ModuleManager.java:224)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.