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 Google Groups by Swapnil Ugare, 1 year ago
org.hibernate.exception.SQLGrammarException: could not extract ResultSet
via GitHub by aunlu
, 1 year ago
org.hibernate.exception.DataException: could not extract ResultSet
via hibernate.org by Unknown author, 2 years ago
org.hibernate.exception.SQLGrammarException: could not execute query
via hibernate.org by Unknown author, 2 years ago
org.hibernate.exception.SQLGrammarException: could not execute query
via Stack Overflow by Clinton Bosch
, 2 years ago
org.hibernate.exception.JDBCConnectionException: could not execute query
via Stack Overflow by KP.
, 1 year ago
org.hibernate.exception.GenericJDBCException: Could not open connection
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar(255)) and contextmap0_.OWNER_ID='com.sample:example:1.0'' at line 1	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)	at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)	at com.mysql.jdbc.Util.getInstance(Util.java:384)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2212)	at com.mysql.jdbc.jdbc2.optional.PreparedStatementWrapper.executeQuery(PreparedStatementWrapper.java:844)	at bitronix.tm.resource.jdbc.JdbcUncachedPreparedStatementHandle.executeQuery(JdbcUncachedPreparedStatementHandle.java:81)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at bitronix.tm.resource.jdbc.BaseProxyHandlerClass.invoke(BaseProxyHandlerClass.java:64)	at com.sun.proxy.$Proxy33.executeQuery(Unknown Source)	at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:79)	at org.hibernate.loader.Loader.getResultSet(Loader.java:2062)	at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1859)	at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1838)	at org.hibernate.loader.Loader.doQuery(Loader.java:906)	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:348)	at org.hibernate.loader.Loader.doList(Loader.java:2550)	at org.hibernate.loader.Loader.doList(Loader.java:2536)	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2366)	at org.hibernate.loader.Loader.list(Loader.java:2361)	at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:495)	at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:357)	at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:198)	at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1230)	at org.hibernate.internal.QueryImpl.list(QueryImpl.java:101)	at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:268)	at org.jbpm.runtime.manager.impl.mapper.JPAMapper.findKSessionToInit(JPAMapper.java:205)	at org.jbpm.runtime.manager.impl.PerProcessInstanceRuntimeManager.init(PerProcessInstanceRuntimeManager.java:372)	at org.jbpm.runtime.manager.impl.RuntimeManagerFactoryImpl.newPerProcessInstanceRuntimeManager(RuntimeManagerFactoryImpl.java:97)	at com.sample.StartProcess.createRuntimeManager(StartProcess.java:119)	at com.sample.StartProcess.main(StartProcess.java:39)