javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute statement

progress.com | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Progress KB - Exception when invoking a decision service using Corticon EDC - " The INSERT permission was denied on the object : XXXX"

    progress.com | 9 months ago
    javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute statement

    Root Cause Analysis

    1. 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()
    2. com.prgs.jdbc
      ddd2.execute
      1. com.prgs.jdbc.sqlserverbase.ddcw.b(Unknown Source)
      2. com.prgs.jdbc.sqlserverbase.ddcw.a(Unknown Source)
      3. com.prgs.jdbc.sqlserverbase.ddcv.b(Unknown Source)
      4. com.prgs.jdbc.sqlserverbase.ddcv.a(Unknown Source)
      5. com.prgs.jdbc.sqlserver.tds.ddr.v(Unknown Source)
      6. com.prgs.jdbc.sqlserver.tds.ddr.a(Unknown Source)
      7. com.prgs.jdbc.sqlserver.tds.ddq.a(Unknown Source)
      8. com.prgs.jdbc.sqlserver.tds.ddr.a(Unknown Source)
      9. com.prgs.jdbc.sqlserver.dda3.m(Unknown Source)
      10. com.prgs.jdbc.sqlserverbase.dde7.e(Unknown Source)
      11. com.prgs.jdbc.sqlserverbase.dde7.a(Unknown Source)
      12. com.prgs.jdbc.sqlserverbase.ddd2.a(Unknown Source)
      13. com.prgs.jdbc.sqlserverbase.dde7.v(Unknown Source)
      14. com.prgs.jdbc.sqlserverbase.dde7.r(Unknown Source)
      15. com.prgs.jdbc.sqlserverbase.ddd2.execute(Unknown Source)
      15 frames
    3. c3p0:JDBC DataSources/Resource Pools
      NewProxyPreparedStatement.execute
      1. com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:989)
      1 frame
    4. Hibernate
      ResultSetReturnImpl.execute
      1. org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.execute(ResultSetReturnImpl.java:97)
      1 frame