java.sql.SQLException: exception while executing query

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 kunal mahale, 10 months ago
via Google Groups by Sanjay Mhaske, 1 year ago
while executing SQL: SELECT EMP_ID, EMP_NAME,MGR_ID FROM OPTIQ_EMPLOYEE CONNECT BY EMP_ID = MGR_ID
via GitHub by Yancey1989
, 10 months ago
error while executing SQL "select * from (select t2.brand from (select brand,count(1) from DEMO group by brand having count(1) >=2) t1 join (select brand from DEMO ) t2 on t1.brand = t2.brand group by t2.brand) t3 LIMIT 50000": null
via Apache's JIRA Issue Tracker by Victoria Markman, 1 year ago
While closing connection
via GitHub by corndolly
, 2 years ago
exception while executing query: java.lang.String cannot be cast to java.lang.Integer
via apache.org by Unknown author, 2 years ago
error while executing SQL "select "empid" from "hr"."emps" -- select": parse failed: Lexical error at line 2, column 10. Encountered: <EOF> after : ""
java.sql.SQLException: exception while executing query
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:852)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1153)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1267)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1477)
at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:392)
at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
at net.hydromatic.linq4j.EnumerableDefaults.toLookup_(EnumerableDefaults.java:1898)
at net.hydromatic.linq4j.EnumerableDefaults.toLookup(EnumerableDefaults.java:1891)
at net.hydromatic.linq4j.EnumerableDefaults.toLookup(EnumerableDefaults.java:1867)
at net.hydromatic.linq4j.DefaultEnumerable.toLookup(DefaultEnumerable.java:663)
at net.hydromatic.linq4j.EnumerableDefaults$5.enumerator(EnumerableDefaults.java:886)
at undefined.Baz$11$1.(Unknown Source)
at undefined.Baz$11.enumerator(Unknown Source)
at net.hydromatic.optiq.jdbc.OptiqPrepare$PrepareResult.enumerator(OptiqPrepare.java:262)
at net.hydromatic.optiq.jdbc.OptiqPrepare$PrepareResult.createCursor(OptiqPrepare.java:230)
at net.hydromatic.optiq.jdbc.OptiqResultSet.execute(OptiqResultSet.java:52)
at net.hydromatic.avatica.AvaticaConnection.executeQueryInternal(AvaticaConnection.java:404)
at net.hydromatic.avatica.AvaticaStatement.executeQueryInternal(AvaticaStatement.java:350)
at net.hydromatic.optiq.impl.mongodb.TestOptiq.main(TestOptiq.java:592)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
73 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.