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

Google Groups | Sunil Tantry | 3 years 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

    Rundeck 2.0.1 Integrating with Oracle Database

    Google Groups | 3 years ago | Sunil Tantry
    org.hibernate.exception.SQLGrammarException: could not execute query
  2. 0

    GridbusBroker / Mailing Lists

    sourceforge.net | 2 years ago
    org.hibernate.exception.SQLGrammarException: could not retrieve snapshot: [org.gridbus.broker.common.ParameterSweepApplicationContext#E1D761F4-C9B0-E87B-B443-B014BB07F98B] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:65) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.persister.entity.AbstractEntityPersister.getDatabaseSnapshot(AbstractEntityPersister.java:1008) at org.hibernate.engine.StatefulPersistenceContext.getDatabaseSnapshot(StatefulPersistenceContext.java:305) at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:189) at org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:460) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:84) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70) at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:531) at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:523) at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:519) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    Root Cause Analysis

    1. org.hibernate.exception.SQLGrammarException

      could not execute query

      at org.codehaus.groovy.grails.web.context.GrailsContextLoader.initWebApplicationContext()
    2. Grails
      GrailsContextLoader.initWebApplicationContext
      1. org.codehaus.groovy.grails.web.context.GrailsContextLoader.initWebApplicationContext(GrailsContextLoader.java:124)
      1 frame
    3. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
      1 frame
    4. Jetty
      AbstractLifeCycle.start
      1. org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:733)
      2. org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:233)
      3. org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1214)
      4. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:676)
      5. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:455)
      6. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      7. org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
      8. org.eclipse.jetty.server.Server.doStart(Server.java:261)
      9. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      9 frames
    5. com.dtolabs.rundeck
      RunServer.main
      1. com.dtolabs.rundeck.RunServer.run(RunServer.java:105)
      2. com.dtolabs.rundeck.RunServer.main(RunServer.java:67)
      2 frames
    6. 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