javax.persistence.PersistenceException

org.hibernate.exception.SQLGrammarException: could not execute statement

Solutions on the web1384

  • via GitHub by gpproton
    , 9 months ago
    org.hibernate.exception.SQLGrammarException: could not execute statement
  • org.hibernate.exception.SQLGrammarException: could not execute statement
  • via openxava by m3rg
    , 8 months ago
    org.hibernate.exception.SQLGrammarException: could not execute statement
  • Stack trace

    • javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute statement at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1388) at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1310) at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1316) at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:881) at com.corticon.reactor.engine.DataManager.loopThruAllGenericEntitiesIntancesOfAType(DataManager.java:3756) at com.corticon.reactor.engine.DataManager.initializeDataObjects(DataManager.java:3255) at com.corticon.reactor.util.CcGenericReactor.execute(CcGenericReactor.java:840) at com.corticon.eclipse.server.core.impl.CcServerImpl.execute(CcServerImpl.java:1231) at com.corticon.eclipse.server.core.impl.CcServerImpl.execute(CcServerImpl.java:781) at com.corticon.eclipse.server.core.impl.CcServerImpl.execute(CcServerImpl.java:732) at cli.Corticon.execute(Corticon.asmx:55) at cli.System.Web.Hosting.ISAPIRuntime.ProcessRequest(Unknown Source) Caused by: java.sql.SQLSyntaxErrorException: [progress][SQLServer JDBC Driver][SQLServer]The INSERT permission was denied on the object 'XXXX', database 'TEST', schema 'dbo'. at com.prgs.jdbc.sqlserverbase.ddcw.b(Unknown Source) at com.prgs.jdbc.sqlserverbase.ddcw.a(Unknown Source) at com.prgs.jdbc.sqlserverbase.ddcv.b(Unknown Source) at com.prgs.jdbc.sqlserverbase.ddcv.a(Unknown Source) at com.prgs.jdbc.sqlserver.tds.ddr.v(Unknown Source) at com.prgs.jdbc.sqlserver.tds.ddr.a(Unknown Source) at com.prgs.jdbc.sqlserver.tds.ddq.a(Unknown Source) at com.prgs.jdbc.sqlserver.tds.ddr.a(Unknown Source) at com.prgs.jdbc.sqlserver.dda3.m(Unknown Source) at com.prgs.jdbc.sqlserverbase.dde7.e(Unknown Source) at com.prgs.jdbc.sqlserverbase.dde7.a(Unknown Source) at com.prgs.jdbc.sqlserverbase.ddd2.a(Unknown Source) at com.prgs.jdbc.sqlserverbase.dde7.v(Unknown Source) at com.prgs.jdbc.sqlserverbase.dde7.r(Unknown Source) at com.prgs.jdbc.sqlserverbase.ddd2.execute(Unknown Source) at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:989) at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.execute(ResultSetReturnImpl.java:97)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.