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

Solutions on the web

via openxava by tayloreric
, 1 year ago
org.hibernate.exception.SQLGrammarException: could not prepare statement
via openxava by edgarbgm
, 10 months ago
org.hibernate.exception.SQLGrammarException: could not prepare statement
via openxava by tianschoeman
, 1 year ago
org.hibernate.exception.SQLGrammarException: could not execute statement
via openxava by lpiccone
, 8 months ago
org.hibernate.exception.GenericJDBCException: could not execute statement
via openxava by josefarrel
, 1 year ago
org.hibernate.exception.DataException: could not execute statement
via openxava by e-sarge
, 1 year ago
org.hibernate.exception.GenericJDBCException: could not insert: [org.openxava.school.model.Level3a]
org.hsqldb.HsqlException: user lacks privilege or object not found: TEACHER	at org.hsqldb.error.Error.error(Unknown Source)	at org.hsqldb.error.Error.error(Unknown Source)	at org.hsqldb.SchemaManager.getTable(Unknown Source)	at org.hsqldb.ParserDQL.readTableName(Unknown Source)	at org.hsqldb.ParserDQL.readRangeVariableForDataChange(Unknown Source)	at org.hsqldb.ParserDML.compileInsertStatement(Unknown Source)	at org.hsqldb.ParserCommand.compilePart(Unknown Source)	at org.hsqldb.ParserCommand.compileStatement(Unknown Source)	at org.hsqldb.Session.compileStatement(Unknown Source)	at org.hsqldb.StatementManager.compile(Unknown Source)	at org.hsqldb.Session.execute(Unknown Source)	at org.hsqldb.jdbc.JDBCPreparedStatement.(Unknown Source)	at org.hsqldb.jdbc.JDBCConnection.prepareStatement(Unknown Source)	at org.apache.tomcat.dbcp.dbcp.DelegatingConnection.prepareStatement(DelegatingConnection.java:281)	at org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.prepareStatement(PoolingDataSource.java:313)	at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$1.doPrepare(StatementPreparerImpl.java:103)	at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:186)	at org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareStatement(StatementPreparerImpl.java:96)	at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.buildBatchStatement(AbstractBatchImpl.java:152)	at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.getBatchStatement(AbstractBatchImpl.java:141)	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3102)	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3581)	at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:104)	at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:465)	at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:351)	at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350)	at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56)	at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1258)	at org.hibernate.jpa.spi.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:1335)	at org.openxava.jpa.impl.EntityManagerDecorator.flush(EntityManagerDecorator.java:157)	at org.openxava.model.impl.JPAPersistenceProvider.flush(JPAPersistenceProvider.java:98)	at org.openxava.model.impl.MapFacadeBean.commitTransaction(MapFacadeBean.java:76)	at org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:46)	at org.openxava.model.MapFacade.create(MapFacade.java:112)	at org.openxava.actions.SaveAction.execute(SaveAction.java:27)	at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:494)	at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:402)	at org.openxava.controller.ModuleManager.execute(ModuleManager.java:359)	at org.apache.jsp.xava.execute_jsp._jspService(execute_jsp.java:196)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)	at org.openxava.web.servlets.Servlets.getURIAsStream(Servlets.java:66)	at org.openxava.web.dwr.Module.getURIAsStream(Module.java:202)	at org.openxava.web.dwr.Module.request(Module.java:61)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)	at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)	at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)	at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)	at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)	at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)	at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)